23 lines
675 B
Go
23 lines
675 B
Go
// Copyright 2018 The OpenPitrix Authors. All rights reserved.
|
|
// Use of this source code is governed by a Apache license
|
|
// that can be found in the LICENSE file.
|
|
|
|
package db
|
|
|
|
import (
|
|
"github.com/gocraft/dbr"
|
|
)
|
|
|
|
// package errors
|
|
var (
|
|
ErrNotFound = dbr.ErrNotFound
|
|
ErrNotSupported = dbr.ErrNotSupported
|
|
ErrTableNotSpecified = dbr.ErrTableNotSpecified
|
|
ErrColumnNotSpecified = dbr.ErrColumnNotSpecified
|
|
ErrInvalidPointer = dbr.ErrInvalidPointer
|
|
ErrPlaceholderCount = dbr.ErrPlaceholderCount
|
|
ErrInvalidSliceLength = dbr.ErrInvalidSliceLength
|
|
ErrCantConvertToTime = dbr.ErrCantConvertToTime
|
|
ErrInvalidTimestring = dbr.ErrInvalidTimestring
|
|
)
|