Expand description
This crate is used to provide C bindings for the rorm-db
crate.
Modules
Utility module to provide errors
Module that holds the definitions for conditions.
Utility functions and structs such as the ffi safe string implementation.
Macros
This macro is used to simplify pushing futures to the runtime.
Functions
Connect to the database using the provided DBConnectOptions.
This function deletes rows from the database based on the given conditions.
Free the connection to the database.
This function inserts a row into the database.
This function inserts multiple rows into the database.
This function queries the database given the provided parameter and returns all matched rows.
This function queries the database given the provided parameter and returns one matched row.
This function queries the database given the provided parameter.
This function executes a raw SQL statement.
Starts a transaction on the current database connection.
This function updates rows in the database.
Frees the row given as parameter.
Tries to retrieve an FFISlice of a u8 from the given row pointer.
Tries to retrieve a bool from the given row pointer.
Tries to retrieve a FFIDate from the given row pointer.
Tries to retrieve a FFIDateTime from the given row pointer.
Tries to retrieve an f32 from the given row pointer.
Tries to retrieve an f64 from the given row pointer.
Tries to retrieve an i16 from the given row pointer.
Tries to retrieve an i32 from the given row pointer.
Tries to retrieve an i64 from the given row pointer.
Tries to retrieve a nullable FFISlice of a u8 from the given row pointer.
Tries to retrieve a nullable bool from the given row pointer.
Tries to retrieve a nullable FFIDate from the given row pointer.
Tries to retrieve a nullable FFIDate from the given row pointer.
Tries to retrieve a nullable f32 from the given row pointer.
Tries to retrieve a nullable f64 from the given row pointer.
Tries to retrieve a nullable i16 from the given row pointer.
Tries to retrieve a nullable i32 from the given row pointer.
Tries to retrieve a nullable i64 from the given row pointer.
Tries to retrieve a nullable FFIString from the given row pointer.
Tries to retrieve a nullable FFITime from the given row pointer.
Tries to retrieve an FFIString from the given row pointer.
Tries to retrieve a FFITime from the given row pointer.
Shutdown the runtime.
This function is used to initialize and start the async runtime.
Frees the stream given as parameter.
Use this function to retrieve a pointer to a row on a stream.
Commits a transaction.
Rollback a transaction and abort it.