Documentation ¶
Index ¶
- type CRUD
- func (t CRUD) Delete(row interface{}) error
- func (t CRUD) Get(ids ...interface{}) (interface{}, error)
- func (t CRUD) Insert(row interface{}) error
- func (t CRUD) InsertWithTTL(row interface{}, ttl *time.Time) error
- func (t CRUD) List(ids ...interface{}) (interface{}, error)
- func (t CRUD) Range(ids ...interface{}) RangeInterface
- func (t CRUD) Update(row interface{}) error
- type Range
- func (r Range) EqualTo(rangeKey string, value interface{}) RangeInterface
- func (r Range) Fetch() (interface{}, error)
- func (r Range) LessThan(rangeKey string, value interface{}) RangeInterface
- func (r Range) LessThanOrEqual(rangeKey string, value interface{}) RangeInterface
- func (r Range) Limit(l int) RangeInterface
- func (r Range) MoreThan(rangeKey string, value interface{}) RangeInterface
- func (r Range) MoreThanOrEqual(rangeKey string, value interface{}) RangeInterface
- func (r Range) OrderBy(fieldAndDirection string) RangeInterface
- func (r Range) Select(s []string) RangeInterface
- func (r Range) WhereIn(m map[string][]string) RangeInterface
- type RangeInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRUD ¶
type CRUD struct {
gocqltable.TableInterface
}
func (CRUD) Range ¶
func (t CRUD) Range(ids ...interface{}) RangeInterface
type Range ¶
type Range struct {
// contains filtered or unexported fields
}
func (Range) EqualTo ¶
func (r Range) EqualTo(rangeKey string, value interface{}) RangeInterface
func (Range) LessThan ¶
func (r Range) LessThan(rangeKey string, value interface{}) RangeInterface
func (Range) LessThanOrEqual ¶
func (r Range) LessThanOrEqual(rangeKey string, value interface{}) RangeInterface
func (Range) Limit ¶
func (r Range) Limit(l int) RangeInterface
func (Range) MoreThan ¶
func (r Range) MoreThan(rangeKey string, value interface{}) RangeInterface
func (Range) MoreThanOrEqual ¶
func (r Range) MoreThanOrEqual(rangeKey string, value interface{}) RangeInterface
func (Range) OrderBy ¶
func (r Range) OrderBy(fieldAndDirection string) RangeInterface
func (Range) Select ¶
func (r Range) Select(s []string) RangeInterface
type RangeInterface ¶
type RangeInterface interface { LessThan(rangeKey string, value interface{}) RangeInterface LessThanOrEqual(rangeKey string, value interface{}) RangeInterface MoreThan(rangeKey string, value interface{}) RangeInterface MoreThanOrEqual(rangeKey string, value interface{}) RangeInterface EqualTo(rangeKey string, value interface{}) RangeInterface OrderBy(fieldAndDirection string) RangeInterface Limit(l int) RangeInterface Select(s []string) RangeInterface WhereIn(m map[string][]string) RangeInterface Fetch() (interface{}, error) }
Click to show internal directories.
Click to hide internal directories.