enum | PlaceholderStyle | pub enum PlaceholderStyle | crates/vox-sql/src/lib.rs#L36-L40 | — |
enum | IdentifierQuoteStyle | pub enum IdentifierQuoteStyle | crates/vox-sql/src/lib.rs#L43-L46 | — |
enum | UpsertStyle | pub enum UpsertStyle | crates/vox-sql/src/lib.rs#L49-L52 | — |
enum | ReturnClauseStyle | pub enum ReturnClauseStyle | crates/vox-sql/src/lib.rs#L55-L58 | — |
struct | SqlDialect | pub struct SqlDialect | crates/vox-sql/src/lib.rs#L61-L67 | — |
fn | voxdb | pub const fn voxdb() -> Self | crates/vox-sql/src/lib.rs#L70-L78 | — |
fn | sqlite | pub const fn sqlite() -> Self | crates/vox-sql/src/lib.rs#L80-L88 | — |
fn | postgres | pub const fn postgres() -> Self | crates/vox-sql/src/lib.rs#L90-L98 | — |
fn | mysql | pub const fn mysql() -> Self | crates/vox-sql/src/lib.rs#L100-L108 | — |
enum | SqlValue | pub enum SqlValue | crates/vox-sql/src/lib.rs#L112-L119 | — |
type | SqlRow | pub type SqlRow = Vec<(String, SqlValue)> | crates/vox-sql/src/lib.rs#L121 | — |
struct | SqlBackendError | pub struct SqlBackendError | crates/vox-sql/src/lib.rs#L124-L126 | — |
fn | new | pub fn new(message: impl Into<String>) -> Self | crates/vox-sql/src/lib.rs#L129-L133 | — |
enum | BackendKind | pub enum BackendKind | crates/vox-sql/src/lib.rs#L145-L151 | — |
fn | from_url | pub fn from_url(url: &str) -> Result<Self, SqlBackendError> | crates/vox-sql/src/lib.rs#L154-L177 | — |
trait | SqlBackend | pub trait SqlBackend: Send + Sync | crates/vox-sql/src/lib.rs#L182-L196 | — |
enum | AnySqlBackend | pub enum AnySqlBackend | crates/vox-sql/src/lib.rs#L199-L205 | — |
fn | backend_kind | pub fn backend_kind(&self) -> BackendKind | crates/vox-sql/src/lib.rs#L210-L218 | — |
fn | connect_from_url | pub async fn connect_from_url(url: &str) -> Result<Self, SqlBackendError> | crates/vox-sql/src/lib.rs#L221-L229 | — |
fn | connect_from_app_env | pub async fn connect_from_app_env() -> Result<Self, SqlBackendError> | crates/vox-sql/src/lib.rs#L232-L248 | — |
fn | dialect | pub fn dialect(&self) -> &SqlDialect | crates/vox-sql/src/lib.rs#L250-L258 | — |
fn | query | pub async fn query( | crates/vox-sql/src/lib.rs#L261 | — |
fn | execute | pub async fn execute(&self, sql: &str, params: &[SqlValue]) -> Result<u64, SqlBackendError> | crates/vox-sql/src/lib.rs#L276-L284 | — |
fn | begin_transaction | pub async fn begin_transaction(&self) -> Result<(), SqlBackendError> | crates/vox-sql/src/lib.rs#L287-L295 | — |
fn | commit_transaction | pub async fn commit_transaction(&self) -> Result<(), SqlBackendError> | crates/vox-sql/src/lib.rs#L298-L306 | — |
fn | rollback_transaction | pub async fn rollback_transaction(&self) -> Result<(), SqlBackendError> | crates/vox-sql/src/lib.rs#L308-L316 | — |
struct | LibsqlBackend | pub struct LibsqlBackend | crates/vox-sql/src/lib.rs#L320-L323 | — |
fn | codex | pub fn codex(&self) -> &Codex | crates/vox-sql/src/lib.rs#L328-L330 | — |
fn | connect_from_config | pub async fn connect_from_config(config: DbConfig) -> Result<Self, SqlBackendError> | crates/vox-sql/src/lib.rs#L332-L340 | — |
struct | PostgresBackend | pub struct PostgresBackend | crates/vox-sql/src/lib.rs#L433-L437 | — |
fn | pool | pub fn pool(&self) -> &PgPool | crates/vox-sql/src/lib.rs#L442-L444 | — |
struct | MySqlBackend | pub struct MySqlBackend | crates/vox-sql/src/lib.rs#L562-L566 | — |
fn | pool | pub fn pool(&self) -> &MySqlPool | crates/vox-sql/src/lib.rs#L571-L573 | — |
enum | build::SqlPredicate | pub enum SqlPredicate | crates/vox-sql/src/build.rs#L4-L17 | — |
fn | build::placeholder_sql | pub fn placeholder_sql(dialect: &SqlDialect, index: usize) -> String | crates/vox-sql/src/build.rs#L19-L25 | — |
fn | build::equality_predicate_sql | pub fn equality_predicate_sql(dialect: &SqlDialect, field: &str, index: usize) -> String | crates/vox-sql/src/build.rs#L27-L29 | — |
fn | build::scalar_predicate_sql | pub fn scalar_predicate_sql( | crates/vox-sql/src/build.rs#L31 | — |
fn | build::contains_predicate_sql | pub fn contains_predicate_sql(dialect: &SqlDialect, field: &str, index: usize) -> String | crates/vox-sql/src/build.rs#L40-L47 | — |
fn | build::predicate_sql | pub fn predicate_sql(dialect: &SqlDialect, pred: &SqlPredicate, next_param: &mut usize) -> String | crates/vox-sql/src/build.rs#L49-L79 | — |
fn | ddl::to_snake_case | pub fn to_snake_case(name: &str) -> String | crates/vox-sql/src/ddl.rs#L7-L28 | — |
fn | ddl::live_table_name | pub fn live_table_name(table: &TableDecl) -> String | crates/vox-sql/src/ddl.rs#L31-L39 | — |
fn | ddl::type_expr_to_vox_type | pub fn type_expr_to_vox_type(ty: &TypeExpr) -> String | crates/vox-sql/src/ddl.rs#L42-L77 | — |
fn | ddl::index_to_ddl | pub fn index_to_ddl(_backend: BackendKind, idx: &IndexDecl) -> String | crates/vox-sql/src/ddl.rs#L80-L87 | — |
fn | ddl::table_to_ddl | pub fn table_to_ddl( | crates/vox-sql/src/ddl.rs#L89 | — |
fn | ddl::add_column_ddl | pub fn add_column_ddl( | crates/vox-sql/src/ddl.rs#L118 | — |