Documentation ¶
Index ¶
- type Condition
- type Session
- func (s *Session) AllowFiltering(b bool) *Session
- func (s *Session) Batch(stmts string) error
- func (s *Session) Consistency(consistency gocql.Consistency) *Session
- func (s *Session) ExecQuery(stmt string) error
- func (s *Session) Find(slice interface{}) error
- func (s *Session) GetInsertStmt(v interface{}) string
- func (s *Session) GetUpdateStmt(v interface{}) string
- func (s *Session) Insert(v interface{}) error
- func (s *Session) Iter(value interface{}) *gocql.Iter
- func (s *Session) Limit(limit int) *Session
- func (s *Session) Model(value interface{}) *Session
- func (s *Session) PageSize(n int) *Session
- func (s *Session) Prefetch(p float64) *Session
- func (s *Session) Select(sel ...string) *Session
- func (s *Session) Table(name string) *Session
- func (s *Session) Token(sel ...string) *Session
- func (s *Session) Update(v interface{}) error
- func (s *Session) Where(args ...interface{}) *Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func SetSession ¶
func (*Session) AllowFiltering ¶
func (*Session) Consistency ¶
func (s *Session) Consistency(consistency gocql.Consistency) *Session
func (*Session) GetInsertStmt ¶
func (*Session) GetUpdateStmt ¶
Click to show internal directories.
Click to hide internal directories.