Module sql

Module sql 

Source
Expand description

SQL module

Defines many type of database objects to generate SQL sql_statements from

Structs§

Field
Field of a Table
FieldAttributes
Attributes for fields
ForeignKey
ForeignKey generator
Grant
GRANT generator
Index
INDEX generator
ObjectPath
Path of an object
Owner
Owner of a database object generator
PrimaryKey
PrimaryKey generator
Schema
SCHEMA generator
Table
TABLE generator
UniqueKey
UniqueKey generator

Enums§

FKOn
Types of ForeignKey ON clause
FieldType
Types of table fields
GrantType
Types of GRANT permissions
ObjectType
Types of upper-level objects

Traits§

DBObject
Trait for serializing a database object to as String
TypeWriter
Trait for a type that can convert a FieldType to String

Type Aliases§

DynFields
List of Field definitions (for De/Serialization)
Fields
Vector of Field’s
ForeignKeys
Vector of ForeignKeys