Help us shape the future of Go! Take the 2026 Go Developer Survey

cqlb

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Condition

type Condition struct {
	// contains filtered or unexported fields
}

func Eq

func Eq(key string, value interface{}) Condition

func GT

func GT(key string, value interface{}) Condition

func GTE

func GTE(key string, value interface{}) Condition

func In

func In(key string, values ...interface{}) Condition

func LT

func LT(key string, value interface{}) Condition

func LTE

func LTE(key string, value interface{}) Condition

func (*Condition) String

func (c *Condition) String() string

type Session

type Session struct {
	// contains filtered or unexported fields
}

func SetSession

func SetSession(s *gocql.Session) *Session

func (*Session) AllowFiltering

func (s *Session) AllowFiltering(b bool) *Session

func (*Session) Batch

func (s *Session) Batch(stmts string) error

func (*Session) Consistency

func (s *Session) Consistency(consistency gocql.Consistency) *Session

func (*Session) ExecQuery

func (s *Session) ExecQuery(stmt string) error

func (*Session) Find

func (s *Session) Find(slice interface{}) error

func (*Session) GetInsertStmt

func (s *Session) GetInsertStmt(v interface{}) string

func (*Session) GetUpdateStmt

func (s *Session) GetUpdateStmt(v interface{}) string

func (*Session) Insert

func (s *Session) Insert(v interface{}) error

func (*Session) Iter

func (s *Session) Iter(value interface{}) *gocql.Iter

func (*Session) Limit

func (s *Session) Limit(limit int) *Session

func (*Session) Model

func (s *Session) Model(value interface{}) *Session

func (*Session) PageSize

func (s *Session) PageSize(n int) *Session

func (*Session) Prefetch

func (s *Session) Prefetch(p float64) *Session

func (*Session) Select

func (s *Session) Select(sel ...string) *Session

func (*Session) Table

func (s *Session) Table(name string) *Session

func (*Session) Token

func (s *Session) Token(sel ...string) *Session

func (*Session) Update

func (s *Session) Update(v interface{}) error

func (*Session) Where

func (s *Session) Where(args ...interface{}) *Session

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL