@onzag/itemize / Modules / database/base
Contains the base query builder and a conditional one
Ƭ BasicBindingType: string | number | boolean | BasicBindingType[]
Represents a binding type, that binds to $1, $2, $3 etc... in the query itself supports string, number, boolean or an array of those
Ƭ ConditionalBuilderFn<T>: (builder: T) => void
| Name |
|---|
T |
▸ (builder): void
The conditional builder function that is used to build conditions that are nested
| Name | Type |
|---|---|
builder |
T |
void
Ƭ ExtendedBindingType: BasicBindingType | QueryBuilder
An extended way to represent bindings as a tree, represents the basic bindings plus the query builder itself that can act as a compounded binding element [binding, binding, binding, [binding, binding, binding]...]
Ƭ ValueType: string | number | boolean | [string, (string | number)[]]
Represents a value that can be used to insert or update by, whatever needs to be assigned a value, we support string, number, booleans and raw values represented by an array and its bindings