Type Definition odbc_safe::Connection
[−]
[src]
type Connection<'env> = DataSource<'env, Connected<'env>>;
Connection
can be used as a shorthand for a DataSource
in Connected
state.
Methods
impl<'env> Connection<'env>
[src]
fn disconnect(
self
) -> Return<DataSource<'env, Unconnected<'env>>, Connection<'env>>
self
) -> Return<DataSource<'env, Unconnected<'env>>, Connection<'env>>
When an application has finished using a data source, it calls disconnect
. disconnect
disconnects the driver from the data source.
fn is_read_only(&mut self) -> Return<bool>
true
if the data source is set to READ ONLY mode, false
otherwise.