logo
sea_query_driver_postgres!() { /* proc-macro */ }
Expand description

Macro to generate sqlx-postgres driver.

Examples:

sea_query::sea_query_driver_postgres!()

Specify a path to the sqlx crate instance

sea_query::sea_query_driver_postgres!(sqlx = "...")

Specify a path to the sea-query crate instance

sea_query::sea_query_driver_postgres!(sea_query = "...")

Specify pathes to the sea-query and to the sqlx crates instances

sea_query::sea_query_driver_postgres!(sqlx="...", sea_query="...")
// or
sea_query::sea_query_driver_postgres!(sea_query="...", sqlx="...")