Skip to main content

Module dialect

Module dialect 

Source
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§

BlockTerminator
The three lines a client needs around a routine, so the ; inside its body does not end it. See DeployClient::block_terminator.
DeployClient
A client described by the dialect, so razeri can write a deploy script around it.
DialectInfo
Metadata describing a dialect implementation.
PlatformRegistry
String-keyed registry for platform dialects.
UnsupportedVersion
A version this dialect does not answer for, with the ones it does.

Enums§

DeployScript
The client a generated deploy script drives: one of the clients razeri writes a script for, or one the dialect describes.

Traits§

DialectHandle
A dialect as a shared handle, so PlatformDialect::at_version can hand back the dialect it was called on.
PlatformDialect
Full plugin trait for database platform dialects.