Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatabase ¶
Types ¶
type DeleteOptions ¶
type DeleteOptions struct {
// contains filtered or unexported fields
}
type FindManyOptions ¶
type FindManyOptions struct {
// contains filtered or unexported fields
}
type FindOneOptions ¶
type FindOneOptions struct {
// contains filtered or unexported fields
}
type IDatabase ¶
type IDatabase interface { Create(value interface{}) error CreateInBatches(value interface{}, batchSize int) error Update(value interface{}) error FindOne(dest interface{}, opts ...FindOneOptions) error FindMany(dest interface{}, opts ...FindManyOptions) error Delete(value interface{}, opts ...DeleteOptions) error Count(count *int64) error }
Click to show internal directories.
Click to hide internal directories.