pub fn query<T>(&self, query: Query) -> FutureResult<Cursor<T>>
    where
        T: 'static + DeserializeOwned,
    {
        Box::new(
            self.connector
                .connection(&self.database_name)
                .execute(CreateCursor::from_query(query)),
        )
    }
/// Executes a query and returns a cursor with the first result set.
///
/// All cursor options and query execution options are left to their default
/// settings.
///
/// To specify cursor options and/or query execution options use the
/// `query_opt(&self, NewCursor)` function.
Executes a query and returns a cursor with the first result set.
All cursor options and query execution options are left to their default
settings.

To specify cursor options and/or query execution options use the
`query_opt(&self, NewCursor)` function.
Executes a query and returns a cursor with the first result set . All cursor options and query execution options are left to their default settings . To specify cursor options and / or query execution options use the ` query_opt ( &self NewCursor ) ` function .
pub fn query<T>(&self, query: Query) -> FutureResult<Cursor<T>>
    where
        T: 'static + DeserializeOwned,
    {
        Box::new(
            self.connector
                .connection(&self.database_name)
                .execute(CreateCursor::from_query(query)),
        )
    }
pub fn query < T > ( & self , query : Query ) -> FutureResult < Cursor < T > > where T : ' static + DeserializeOwned , { Box :: new ( self . connector . connection ( & self . database_name ) . execute ( CreateCursor :: from_query ( query ) ) , ) }
Executes a query and returns a cursor with the first result set.
Executes a query and returns a cursor with the first result set .
&self
query
Query
&self
query
Query