Documentation ¶
Index ¶
- Constants
- Variables
- func NewSite(url string) (catalog.Site, query.Error)
- func ViewTotalRows(bucket *cb.Bucket, ddoc string, view string, options map[string]interface{}) (int64, query.Error)
- func WalkViewInBatches(result chan cb.ViewRow, errs query.ErrorChannel, bucket *cb.Bucket, ...)
- type JsStatement
Constants ¶
View Source
const ( PRIMARY_INDEX = "#primary" ALLDOCS_INDEX = "#alldocs" )
View Source
const NETWORK_CHANNEL = "NETWORK"
View Source
const TYPE_ARRAY = 192
View Source
const TYPE_BOOLEAN = 96
View Source
const TYPE_NULL = 64
View Source
const TYPE_NUMBER = 128
View Source
const TYPE_OBJECT = 224
View Source
const TYPE_STRING = 160
Variables ¶
View Source
var MIN_ID = cb.DocId("")
Functions ¶
func ViewTotalRows ¶ added in v0.6.0
Types ¶
type JsStatement ¶
type JsStatement struct {
// contains filtered or unexported fields
}
AST to JS conversion
func NewWalker ¶
func NewWalker() *JsStatement
func (*JsStatement) JS ¶
func (this *JsStatement) JS() string
func (*JsStatement) Visit ¶
func (this *JsStatement) Visit(e ast.Expression) (ast.Expression, error)
inorder traversal of the AST to get JS expression out of it
Click to show internal directories.
Click to hide internal directories.