Versions in this module Expand all Collapse all v0 v0.1.0 Oct 24, 2025 Changes in this version + type BatchRequest []database.Request + func Batch(requests ...database.Request) BatchRequest + func (b BatchRequest) IsPrefab() bool + func (b BatchRequest) ResponseOnError() database.Response + func (b BatchRequest) ResponseOnSuccess() database.Response + type BatchResponse []*Response + func (c *BatchResponse) Code() int + func (c *BatchResponse) Message() string + type BatchStatus []Status + func (s BatchStatus) AllSuccess() bool + func (s BatchStatus) GetErrorIndices() []int + type ChainRequest []database.Request + func Chain(requests ...database.Request) ChainRequest + func (c ChainRequest) IsPrefab() bool + func (c ChainRequest) ResponseOnError() database.Response + func (c ChainRequest) ResponseOnSuccess() database.Response + type ChainResponse []*Response + func (c *ChainResponse) Code() int + func (c *ChainResponse) Message() string + type Intent struct + Args []any + Operation any + Type database.RequestType + func (i Intent) IsPrefab() bool + func (i Intent) ResponseOnError() database.Response + func (i Intent) ResponseOnSuccess() database.Response + type ReadAllCounts struct + DatabaseName string + TableNames []string + func NewReadAllCounts(databaseName string, tableNames []string) ReadAllCounts + func (p ReadAllCounts) IsPrefab() bool + func (p ReadAllCounts) Name() string + func (p ReadAllCounts) ResponseOnError() database.Response + func (p ReadAllCounts) ResponseOnSuccess() database.Response + type ReadColumnNames struct + DatabaseName string + TableName string + func NewReadColumnNames(databaseName, tableName string) ReadColumnNames + func (p ReadColumnNames) IsPrefab() bool + func (p ReadColumnNames) Name() string + func (p ReadColumnNames) ResponseOnError() database.Response + func (p ReadColumnNames) ResponseOnSuccess() database.Response + type ReadColumnProperties struct + ColumnName string + DatabaseName string + TableName string + func NewReadColumnProperties(databaseName, tableName, columnName string) ReadColumnProperties + func (p ReadColumnProperties) IsPrefab() bool + func (p ReadColumnProperties) Name() string + func (p ReadColumnProperties) ResponseOnError() database.Response + func (p ReadColumnProperties) ResponseOnSuccess() database.Response + type ReadColumnSchema struct + ColumnName string + DatabaseName string + TableName string + func NewReadColumnSchema(databaseName, tableName, columnName string) ReadColumnSchema + func (p ReadColumnSchema) IsPrefab() bool + func (p ReadColumnSchema) Name() string + func (p ReadColumnSchema) ResponseOnError() database.Response + func (p ReadColumnSchema) ResponseOnSuccess() database.Response + type ReadCount struct + DatabaseName string + TableName string + func NewReadCount(tableName string) ReadCount + func NewReadCountWithDB(databaseName, tableName string) ReadCount + func (p ReadCount) IsPrefab() bool + func (p ReadCount) Name() string + func (p ReadCount) ResponseOnError() database.Response + func (p ReadCount) ResponseOnSuccess() database.Response + type ReadDatabaseNames struct + func NewReadDatabaseNames() ReadDatabaseNames + func (p ReadDatabaseNames) IsPrefab() bool + func (p ReadDatabaseNames) Name() string + func (p ReadDatabaseNames) ResponseOnError() database.Response + func (p ReadDatabaseNames) ResponseOnSuccess() database.Response + type ReadDatabaseProperties struct + DatabaseName string + func NewReadDatabaseProperties(databaseName string) ReadDatabaseProperties + func (p ReadDatabaseProperties) IsPrefab() bool + func (p ReadDatabaseProperties) Name() string + func (p ReadDatabaseProperties) ResponseOnError() database.Response + func (p ReadDatabaseProperties) ResponseOnSuccess() database.Response + type ReadDatabaseSchema struct + DatabaseName string + func NewReadDatabaseSchema(databaseName string) ReadDatabaseSchema + func (p ReadDatabaseSchema) IsPrefab() bool + func (p ReadDatabaseSchema) Name() string + func (p ReadDatabaseSchema) ResponseOnError() database.Response + func (p ReadDatabaseSchema) ResponseOnSuccess() database.Response + type ReadTableNames struct + DatabaseName string + func NewReadDBTableNames(databaseName string) ReadTableNames + func NewReadTableNames() ReadTableNames + func (p ReadTableNames) IsPrefab() bool + func (p ReadTableNames) Name() string + func (p ReadTableNames) ResponseOnError() database.Response + func (p ReadTableNames) ResponseOnSuccess() database.Response + type ReadTableProperties struct + DatabaseName string + TableName string + func NewReadTableProperties(databaseName, tableName string) ReadTableProperties + func (p ReadTableProperties) IsPrefab() bool + func (p ReadTableProperties) Name() string + func (p ReadTableProperties) ResponseOnError() database.Response + func (p ReadTableProperties) ResponseOnSuccess() database.Response + type ReadTableSchema struct + DatabaseName string + TableName string + func NewReadTableSchema(databaseName, tableName string) ReadTableSchema + func (p ReadTableSchema) IsPrefab() bool + func (p ReadTableSchema) Name() string + func (p ReadTableSchema) ResponseOnError() database.Response + func (p ReadTableSchema) ResponseOnSuccess() database.Response + type Response struct + Body any + Error error + RequestID int64 + RequestTarget string + Status Status + func (r Response) Code() int + func (r Response) Message() string + type Status int + const ErrorBatchExecute + const ErrorChainExecute + const ErrorConnect + const ErrorCreate + const ErrorDelete + const ErrorDisconnect + const ErrorExecute + const ErrorRead + const ErrorReadColumnProperties + const ErrorReadColumnSchema + const ErrorReadCount + const ErrorReadDBColumnList + const ErrorReadDBTableList + const ErrorReadDatabaseList + const ErrorReadDatabaseProperties + const ErrorReadDatabaseSchema + const ErrorReadTableProperties + const ErrorReadTableSchema + const ErrorReconnect + const ErrorTargetClose + const ErrorTargetOpen + const ErrorTargetUpdate + const ErrorUpdate + const StatusUnknown + const SuccessBatchExecute + const SuccessChainExecute + const SuccessConnect + const SuccessCreate + const SuccessDelete + const SuccessDisconnect + const SuccessExecute + const SuccessRead + const SuccessReadColumnProperties + const SuccessReadColumnSchema + const SuccessReadCount + const SuccessReadDBColumnList + const SuccessReadDBTableList + const SuccessReadDatabaseList + const SuccessReadDatabaseProperties + const SuccessReadDatabaseSchema + const SuccessReadTableProperties + const SuccessReadTableSchema + const SuccessReconnect + const SuccessTargetClose + const SuccessTargetOpen + const SuccessTargetUpdate + const SuccessUpdate + func (i Status) String() string + func (s Status) IsError() bool + func (s Status) IsSuccess() bool