dbschema

package
v0.0.0-...-12c2917 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(ctx context.Context, db driver.Database, collections []string, edges []string) error

Migrate attempts to bring the schema for db up to date with the migrations defined in this package.

func Seed

func Seed(ctx context.Context, db driver.Database, seedAql string) error

Seed runs the set of seed-data queries against db. The queries are ran in a transaction and rolled back if any fail.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL