package
0.14.0
Repository: https://github.com/sourcenetwork/defradb.git
Documentation: pkg.go.dev

# Functions

CreateSchemaVersion creates and saves to the store a new schema version.
GetActiveCollections returns all active collections in the system.
GetSchemas returns all schema versions in the system.
No description provided by the author
GetCollectionByName returns the collection with the given name.
GetCollectionlessSchemas returns all schema that are not attached to a collection.
GetCollections returns all collections in the system.
No description provided by the author
GetCollectionsBySchemaRoot returns all collections that use the given schema root.
GetCollectionsBySchemaVersionID returns all collections that use the given schemaVersionID.
GetSchemas returns the schema of all the default schema versions in the system.
GetSchemasByName returns all the schema with the given name.
GetSchemasByRoot returns all the schema with the given root.
GetSchemaVersion returns the schema description for the schema version of the ID provided.
No description provided by the author
HasCollectionByName returns true if there is a collection of the given name, else returns false.
NewErrFailedToCreateCollectionQuery returns a new error indicating that the query to create a collection failed to close.
NewErrFailedToCreateSchemaQuery returns a new error indicating that the query to create a schema failed to close.
NewErrFailedToCreateCollectionQuery returns a new error indicating that the query to create a collection failed.
NewErrFailedToCreateSchemaQuery returns a new error indicating that the query to create a schema failed.
SaveCollection saves the given collection to the system store overwriting any pre-existing values.