db: introduce row type

This commit is contained in:
Asdine El Hrychy
2023-11-30 23:47:04 +04:00
parent 28bb8ce924
commit d981a577c0
184 changed files with 2949 additions and 2651 deletions

View File

@@ -7,12 +7,12 @@ import (
)
// IsNotFoundError determines if the given error is a NotFoundError.
// NotFoundError is returned when the requested table, index, document or sequence
// NotFoundError is returned when the requested table, index, object or sequence
// doesn't exist.
var IsNotFoundError = errs.IsNotFoundError
// IsAlreadyExistsError determines if the error is returned as a result of
// a conflict when attempting to create a table, an index, a document or a sequence
// a conflict when attempting to create a table, an index, a object or a sequence
// with a name that is already used by another resource.
func IsAlreadyExistsError(err error) bool {
if errs.IsAlreadyExistsError(err) {