Module schema

Source
Expand description

Database schema construction utility, available for advanced development. For classic usage use the aragog_cli and its migration engine to generate your schema

Structs§

CollectionSchema
Aragog schema representation of an ArangoDB Collection. This struct is meant to load/generate the schema file.
DatabaseSchema
Aragog schema representation of an ArangoDB Database. This struct is meant to load/generate the schema file.
GraphSchema
Aragog schema representation of an ArangoDB Named Graph. This struct is meant to load/generate the schema file.
IndexSchema
Aragog schema representation of an ArangoDB Index. This struct is meant to load/generate the schema file.

Constants§

SCHEMA_DEFAULT_FILE_NAME
Default schema file name, can be overridden manually
SCHEMA_DEFAULT_PATH
Default schema path, can be overridden manually or set as SCHEMA_PATH env var

Traits§

SchemaDatabaseOperation
Trait used for all schema elements allowing to synchronise schema changes. Used by aragog_cli for migrations and DatabaseConnection