https://github.com/hjosugi/irodori-sql
Shared SQL dialect, parameter, metamodel, and schema helpers for Irodori.
https://github.com/hjosugi/irodori-sql
database irodori metamodel query-builder rust schema sql sql-dialect
Last synced: 7 days ago
JSON representation
Shared SQL dialect, parameter, metamodel, and schema helpers for Irodori.
- Host: GitHub
- URL: https://github.com/hjosugi/irodori-sql
- Owner: hjosugi
- License: 0bsd
- Created: 2026-06-27T01:49:22.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-07-05T12:42:24.000Z (22 days ago)
- Last Synced: 2026-07-05T14:14:16.698Z (22 days ago)
- Topics: database, irodori, metamodel, query-builder, rust, schema, sql, sql-dialect
- Language: Rust
- Size: 109 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# irodori-sql
SQL helpers used by Irodori Table and other Rust hosts.
## Provides
- 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.
## Use
```toml
[dependencies]
irodori-sql = { git = "https://github.com/hjosugi/irodori-sql", tag = "v0.3.0" }
```
```rust
use irodori_sql::dialect::{quote_identifier, DbEngine};
let name = quote_identifier(DbEngine::Postgres, "order");
assert_eq!(name, "\"order\"");
```
## Develop
```sh
cargo test
```
License: `MIT OR 0BSD`.
## License
0BSD. You can use, copy, modify, and distribute this project for almost any purpose.