NewDatabase(ctx context.Context, name string, dbData env.DbData, editOpts editor.Options)
: (Database, error)
resolveAsOf(ctx *sql.Context, db Database, asOf interface{})
: (*doltdb.Commit, *doltdb.RootValue, error)
resolveAsOfTime(ctx *sql.Context, ddb *doltdb.DoltDB, head ref.DoltRef, asOf time.Time)
: (*doltdb.Commit, *doltdb.RootValue, error)
resolveAsOfCommitRef(ctx *sql.Context, ddb *doltdb.DoltDB, head ref.DoltRef, commitRef string)
: (*doltdb.Commit, *doltdb.RootValue, error)
getInitialDBStateForUserSpaceDb(ctx context.Context, db SqlDatabase)
: (dsess.InitialDbState, error)