Documentation
¶
Overview ¶
Package workspacedb owns per-workspace SQLite database lifecycle helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrationStream ¶
func MigrationStream() store.MigrationStream
MigrationStream returns the embedded workspace database migration stream.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB is an open per-workspace Compozy database handle.
func OpenWorkspace ¶
OpenWorkspace opens a workspace database using its package-owned schema stream.
func (*DB) WorkspaceID ¶
WorkspaceID reports the resolved workspace identity.
func (*DB) WorkspaceRoot ¶
WorkspaceRoot reports the workspace root used to open the database.
Click to show internal directories.
Click to hide internal directories.