Expand description
Argument modifiers and helpers for builders.
Structs§
- Raw
- Raw: inline SQL fragment without becoming a placeholder.
- RcBuilder
- RcBuilder: wrap
Rc<RefCell<T>>as a Builder to enable shared, late-bound builders. - SqlNamed
Arg - SqlNamedArg: helper for
@nameplaceholders inside SQL.
Enums§
- Arg
- Dynamic argument types used by the Builder/Args system.
Traits§
- Builder
- Builder: trait for objects that can build SQL (nestable).
- Flatten
Into Args - Trait-based implementation of recursive flattening.
Functions§
- escape
- Escape: replace
$with$$to avoid being parsed as an expression byArgs::compile. - escape_
all - EscapeAll: escape a collection of identifiers.
- flatten
- Flatten: recursively expand values into argument list (trait-based, no reflection).
- list
- List: mark as argument list; expands to
?, ?, ?(or flavor-specific placeholders). - named
- Named: named parameter used by
Build/BuildNamedvia${name}. - raw
- rc_
builder - tuple
- Tuple: mark as tuple; expands to
(?, ?)(or flavor-specific placeholders). - tuple_
names - TupleNames: build a column tuple string like
(a, b, c)without escaping.