pub fn database(&self) -> Option<&String> {
        self.database
            .as_ref()
            .or_else(|| self.datasource.database_name())
    }
/// Returns the name of the default database addressed by method calls
/// if none is specified by the actual method.
///
/// If no default database is set this method returns `None`. In this case
/// calls are executed against the system database if the actual method call
/// does not specify a database.
Returns the name of the default database addressed by method calls
if none is specified by the actual method.

If no default database is set this method returns `None`. In this case
calls are executed against the system database if the actual method call
does not specify a database.
Returns the name of the default database addressed by method calls if none is specified by the actual method . If no default database is set this method returns ` None ` . In this case calls are executed against the system database if the actual method call does not specify a database .
pub fn database(&self) -> Option<&String> {
        self.database
            .as_ref()
            .or_else(|| self.datasource.database_name())
    }
pub fn database ( & self ) -> Option < & String > { self . database . as_ref ( ) . or_else ( | | self . datasource . database_name ( ) ) }
Returns the name of the default database addressed by method calls
if none is specified by the actual method.
Returns the name of the default database addressed by method calls if none is specified by the actual method .
&self
&self