Expand description
Platform dialect trait and registry for database SQL rendering.
PlatformDialect extends the rendering trait hierarchy from
razeri-plugin-contract with plugin metadata and registration support.
PlatformRegistry resolves dialects by canonical string name,
so built-in and third-party plugins are looked up the same way — there is no
closed platform enum, and an unknown name is an error, never a fallback.
Re-exports§
pub use razeri_plugin_contract;
Structs§
- Block
Terminator - The three lines a client needs around a routine, so the
;inside its body does not end it. SeeDeployClient::block_terminator. - Deploy
Client - A client described by the dialect, so razeri can write a deploy script around it.
- Dialect
Info - Metadata describing a dialect implementation.
- Platform
Registry - String-keyed registry for platform dialects.
- Unsupported
Version - A version this dialect does not answer for, with the ones it does.
Enums§
- Deploy
Script - The client a generated deploy script drives: one of the clients razeri writes a script for, or one the dialect describes.
Traits§
- Dialect
Handle - A dialect as a shared handle, so
PlatformDialect::at_versioncan hand back the dialect it was called on. - Platform
Dialect - Full plugin trait for database platform dialects.