Module bsql

Module bsql 

Source
Expand description

Support for db fragments with bound variables

Modules§

bsql_coverage
Recording of executed bsql! and comparison to those in the source

Macros§

anyerror1
bsql
Generates an [impl Bsql].
bsql_bad_syntax
bsql_untracked
Like bsql! but doesn’t participate in code coverage
bsql_update
Construct a RowUpdate or impl Bsql for some Row,
derive_deftly_template_AsBsqlRow
derive_deftly_template_FromSqlRow
derive_deftly_template_FromSqlStrEnum
derive_deftly_template_SqlViaString
derive_deftly_template_ToFromSqlInner
Does no checks on the data!
derive_deftly_template_ToSqlEnum
derive_deftly_template_UpdateSqlRow
expect1

Structs§

AsBsqlColumnData
AsBsqlRowParams
BsqlUpdateColumnData
Builder
Builder for a SQL fragment with bound parameters
Concat
DbSqlError
DbTransaction
EmptyFragment
ErasedError1
Type-erased error which is known not to be rusqlite::Error
FromSqlEnumInvalidValue
SkipRowId
Timeout
WithRowId

Enums§

DbError
Error which occurs within a database transaction

Traits§

AsBsqlRow
Bsql
SQL text with its associated bind values
Context1
DbErrorContext
Extension trait for .db_context() and .with_db_context()
FromSqlRow
FromSqlStrEnum
HasUpdateSqlRow
NotSqlError
PreventEraseError
See DbError
RusqliteConnectionExt
Execute a database transaction
RusqliteTransactionExt
UpdateSqlRow

Functions§

iter_extend_params
iter_extend_text

Type Aliases§

DynToSql
RowId