clickhouse

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsertStmt

func NewInsertStmt

func NewInsertStmt(db sqb.StatementExecutor) *InsertStmt

func (*InsertStmt) Build

func (s *InsertStmt) Build() *InsertStmt

func (*InsertStmt) Clean

func (s *InsertStmt) Clean() *InsertStmt

func (*InsertStmt) Copy

func (s *InsertStmt) Copy() *InsertStmt

func (*InsertStmt) Exec

func (s *InsertStmt) Exec(sequence string) (any, error)

func (*InsertStmt) ItIsCommand

func (s *InsertStmt) ItIsCommand()

func (*InsertStmt) MustExec

func (s *InsertStmt) MustExec(sequence string) any

type SelectStmt

func NewSelectStmt

func NewSelectStmt(db sqb.StatementExecutor) *SelectStmt

func (*SelectStmt) Batches

func (s *SelectStmt) Batches(size, page int) func() ([]map[string]any, error)

func (*SelectStmt) Build

func (s *SelectStmt) Build() *SelectStmt

func (*SelectStmt) Clean

func (s *SelectStmt) Clean() *SelectStmt

func (*SelectStmt) Column

func (s *SelectStmt) Column(args ...string) ([]any, error)

func (*SelectStmt) Copy

func (s *SelectStmt) Copy() *SelectStmt

func (*SelectStmt) Count

func (s *SelectStmt) Count(column string) (int64, error)

func (*SelectStmt) CountWithNonConditionalClauses

func (s *SelectStmt) CountWithNonConditionalClauses(column string) (int64, error)

func (*SelectStmt) ItIsQuery

func (s *SelectStmt) ItIsQuery()

func (*SelectStmt) MustColumn

func (s *SelectStmt) MustColumn(args ...string) []any

func (*SelectStmt) MustCount

func (s *SelectStmt) MustCount(column string) int64

func (*SelectStmt) MustCountWithNonConditionalClauses

func (s *SelectStmt) MustCountWithNonConditionalClauses(column string) int64

func (*SelectStmt) MustOne

func (s *SelectStmt) MustOne(args ...string) any

func (*SelectStmt) One

func (s *SelectStmt) One(args ...string) (any, error)

func (*SelectStmt) Pages

func (s *SelectStmt) Pages(size, page int) func() (map[string]any, error)

func (*SelectStmt) Paginate

func (s *SelectStmt) Paginate(page, size int) *SelectStmt

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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