Skip to main content

Crate sql_forge_macro

Crate sql_forge_macro 

Source

Macros§

db_type
Expands to the database type from the SQL_FORGE_DB_TYPE environment variable, falling back to [package.metadata.sql_forge] in Cargo.toml.
sql_forge
Builds a parameterized SQL query with compile-time type-checking and a runtime [sqlx::QueryBuilder] for dynamic SQL.

Attribute Macros§

sql_forge_transparent
Marks a single-value tuple struct as a transparent wrapper for use with sql_forge! parameters.