package
0.0.0-20230526172310-c14c6dabec09
Repository: https://github.com/vito/bass-loop.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
Errorf logs an error message using the package error logger.
FindRunResultsByPathValue runs a custom query, returning results as FindRunResult.
GetIndexRunsResults runs a custom query, returning results as IndexRunsResult.
Logf logs a message using the package logger.
NewTime creates a time.
No description provided by the author
RunByID retrieves a row from 'runs' as a Run.
RunsByThunkDigest retrieves a row from 'runs' as a Run.
RunsByUserID retrieves a row from 'runs' as a Run.
RuntimeByUserIDName retrieves a row from 'runtimes' as a Runtime.
RuntimesByUserID retrieves a row from 'runtimes' as a Runtime.
SchemaMigrationByVersion retrieves a row from 'schema_migrations' as a SchemaMigration.
ServiceByRuntimeNameService retrieves a row from 'services' as a Service.
ServiceByUserIDRuntimeNameService retrieves a row from 'services' as a Service.
ServicesByUserIDRuntimeName retrieves a row from 'services' as a Service.
SetErrorLogger sets the package error logger.
SetLogger sets the package logger.
ThunkByDigest retrieves a row from 'thunks' as a Thunk.
UserByID retrieves a row from 'users' as a User.
VertexByRunIDDigest retrieves a row from 'vertexes' as a Vertex.
VertexEdgeBySourceDigestTargetDigest retrieves a row from 'vertex_edges' as a VertexEdge.
VertexEdgesBySourceDigest retrieves a row from 'vertex_edges' as a VertexEdge.
VertexEdgesByTargetDigest retrieves a row from 'vertex_edges' as a VertexEdge.
VertexesByRunID retrieves a row from 'vertexes' as a Vertex.
# Constants
ErrAlreadyExists is the already exists error.
ErrDoesNotExist is the does not exist error.
ErrMarkedForDeletion is the marked for deletion error.
# Variables
TimestampFormats are the timestamp formats used by SQLite3 database drivers to store a time.Time in SQLite3.
# Structs
ErrInsertFailed is the insert failed error.
ErrUpdateFailed is the update failed error.
ErrUpsertFailed is the upsert failed error.
FindRunResult represents a row from 'find_run_result'.
IndexRunsResult represents a row from 'index_runs_result'.
Run represents a row from 'runs'.
Runtime represents a row from 'runtimes'.
SchemaMigration represents a row from 'schema_migrations'.
Service represents a row from 'services'.
Thunk represents a row from 'thunks'.
Time is a SQLite3 Time that scans for the various timestamps values used by SQLite3 database drivers to store time.Time values.
User represents a row from 'users'.
Vertex represents a row from 'vertexes'.
VertexEdge represents a row from 'vertex_edges'.
# Interfaces
DB is the common interface for database operations that can be used with types from schema 'loop.db'.
# Type aliases
No description provided by the author
ErrInvalidTime is the invalid Time error.
Error is an error.
No description provided by the author