pub fn query_opt<T>(&self, new_cursor: NewCursor) -> Result<CursorSession<T, C>>
    where
        T: 'static + DeserializeOwned,
    {
        self.execute(CreateCursor::new(new_cursor)).map(|cursor| {
            CursorSession::new(
                cursor,
                self.database_name.clone(),
                self.connector.clone(),
                self.core.clone(),
            )
        })
    }
/// Executes a query and returns a cursor with the first result set.
///
/// It requires a `NewCursor` struct as a parameter which allows full
/// control over all supported cursor options and query execution options.
///
/// To execute a query with all options left at their defaults the
/// `query(&self, Query)` function might be more suitable.
Executes a query and returns a cursor with the first result set.
It requires a `NewCursor` struct as a parameter which allows full
control over all supported cursor options and query execution options.

To execute a query with all options left at their defaults the
`query(&self, Query)` function might be more suitable.
Executes a query and returns a cursor with the first result set . It requires a ` NewCursor ` struct as a parameter which allows full control over all supported cursor options and query execution options . To execute a query with all options left at their defaults the ` query ( &self Query ) ` function might be more suitable .
pub fn query_opt<T>(&self, new_cursor: NewCursor) -> Result<CursorSession<T, C>>
    where
        T: 'static + DeserializeOwned,
    {
        self.execute(CreateCursor::new(new_cursor)).map(|cursor| {
            CursorSession::new(
                cursor,
                self.database_name.clone(),
                self.connector.clone(),
                self.core.clone(),
            )
        })
    }
pub fn query_opt < T > ( & self , new_cursor : NewCursor ) -> Result < CursorSession < T , C > > where T : ' static + DeserializeOwned , { self . execute ( CreateCursor :: new ( new_cursor ) ) . map ( | cursor | { CursorSession :: new ( cursor , self . database_name . clone ( ) , self . connector . clone ( ) , self . core . clone ( ) , ) } ) }
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
new_cursor
NewCursor
&self
new_cursor
NewCursor