SQL helpers used by Irodori Table and other Rust hosts.
- dialect metadata
- identifier quoting
- placeholder and paging helpers
- query parameter detection
- schema/metamodel query builders
- schema diff helpers
- migration SQL and validation SQL builders
This crate does not connect to databases.
[dependencies]
irodori-sql = { git = "https://github.com/irodori-table/irodori-sql", tag = "v0.3.0" }use irodori_sql::dialect::{quote_identifier, DbEngine};
let name = quote_identifier(DbEngine::Postgres, "order");
assert_eq!(name, "\"order\"");cargo testLicense: MIT OR 0BSD.
0BSD. You can use, copy, modify, and distribute this project for almost any purpose.