Struct sqlite::Connection [] [src]

pub struct Connection { /* fields omitted */ }

A database connection.

Methods

impl Connection
[src]

Open a connection to a new or existing database.

Execute a statement without processing the resulting rows if any.

Execute a statement and process the resulting rows as plain text.

The callback is triggered for each row. If the callback returns false, no more rows will be processed. For large queries and non-string data types, prepared statement are highly preferable; see prepare.

Create a prepared statement.

Set a callback for handling busy events.

The callback is triggered when the database cannot perform an operation due to processing of some other request. If the callback returns true, the operation will be repeated.

Set an implicit callback for handling busy events that tries to repeat rejected operations until a timeout expires.

Remove the callback handling busy events.

Trait Implementations

impl Send for Connection
[src]

impl Drop for Connection
[src]

A method called when the value goes out of scope. Read more