Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrNoDatabase errs.Error = "No database connection" ErrUnknownDriver errs.Error = "Unknown driver" ErrNoTableName errs.Error = "No table name" ErrNoWhereClause errs.Error = "No where clause in query" ErrFieldNull errs.Error = "Field cannot be null" ErrLastInsertId errs.Error = "Last insert id is not valid" ErrUnsupportedLookup errs.Error = "Unsupported lookup type" ErrNoResults errs.Error = "No results found" ErrNoRows errs.Error = "No rows in result set" ErrMultipleRows errs.Error = "Multiple rows in result set" ErrTransactionStarted errs.Error = "Transaction already started" ErrFailedStartTransaction errs.Error = "Failed to start transaction" ErrNoTransaction errs.Error = "Transaction was not started" ErrTransactionNil errs.Error = "Transaction is nil" ErrCrossDatabaseTransaction errs.Error = "Cross-database transaction is not allowed" // Returned when a Query[T] is executed twice, the result should // be cached, and the second call should return the cached result, // along with this error. ErrAlreadyExecuted errs.Error = "Query already executed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.