public static function make_complex_query_object( $slug, array $args = array() ) {

		$table = static::get( $slug );

		if ( empty( $table ) || empty( static::$tables[ $slug ]['query'] ) ) {
			return null;
		}

		$class = static::$tables[ $slug ]['query'];

		$query = new $class( $args );

		return $query;
	}