Documentation ¶
Index ¶
- Constants
- type All
- func (x *All) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *All) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *All) ExtendCORK() byte
- func (x *All) IsCodecEmpty() bool
- func (this *All) MarshalCORK(w *cork.Writer) (err error)
- func (this All) String() string
- func (this *All) UnmarshalCORK(r *cork.Reader) (err error)
- type Any
- func (x *Any) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Any) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Any) ExtendCORK() byte
- func (x *Any) IsCodecEmpty() bool
- func (this *Any) MarshalCORK(w *cork.Writer) (err error)
- func (this Any) String() string
- func (this *Any) UnmarshalCORK(r *cork.Reader) (err error)
- type AuthableStatement
- type Batch
- func (x *Batch) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Batch) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Batch) ExtendCORK() byte
- func (x *Batch) IsCodecEmpty() bool
- func (this *Batch) MarshalCORK(w *cork.Writer) (err error)
- func (this Batch) String() string
- func (this *Batch) UnmarshalCORK(r *cork.Reader) (err error)
- type Batchs
- type BeginStatement
- type BinaryExpression
- func (x *BinaryExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *BinaryExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *BinaryExpression) ExtendCORK() byte
- func (x *BinaryExpression) IsCodecEmpty() bool
- func (this *BinaryExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this BinaryExpression) String() string
- func (this *BinaryExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type CancelStatement
- type Circle
- func (x *Circle) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Circle) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Circle) ExtendCORK() byte
- func (x *Circle) IsCodecEmpty() bool
- func (this Circle) JSON() string
- func (this *Circle) MarshalCORK(w *cork.Writer) (err error)
- func (this Circle) MarshalJSON() (data []byte, err error)
- func (this Circle) MarshalText() (data []byte, err error)
- func (this Circle) String() string
- func (this *Circle) UnmarshalCORK(r *cork.Reader) (err error)
- type Circles
- type CommitStatement
- type ContentExpression
- func (x *ContentExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ContentExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *ContentExpression) ExtendCORK() byte
- func (x *ContentExpression) IsCodecEmpty() bool
- func (this *ContentExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this ContentExpression) String() string
- func (this *ContentExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type CreateStatement
- func (x *CreateStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *CreateStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *CreateStatement) Decode(src []byte)
- func (s *CreateStatement) Duration() time.Duration
- func (this *CreateStatement) Encode() (dst []byte)
- func (this *CreateStatement) ExtendCORK() byte
- func (x *CreateStatement) IsCodecEmpty() bool
- func (this *CreateStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this CreateStatement) String() string
- func (this *CreateStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *CreateStatement) Writeable() bool
- type DataExpression
- func (x *DataExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DataExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DataExpression) ExtendCORK() byte
- func (x *DataExpression) IsCodecEmpty() bool
- func (this *DataExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this DataExpression) String() string
- func (this *DataExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type DefineDatabaseStatement
- func (x *DefineDatabaseStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineDatabaseStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineDatabaseStatement) Decode(src []byte)
- func (this *DefineDatabaseStatement) Encode() (dst []byte)
- func (this *DefineDatabaseStatement) ExtendCORK() byte
- func (x *DefineDatabaseStatement) IsCodecEmpty() bool
- func (this *DefineDatabaseStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineDatabaseStatement) String() string
- func (this *DefineDatabaseStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineDatabaseStatement) Writeable() bool
- type DefineEventStatement
- func (x *DefineEventStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineEventStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineEventStatement) Decode(src []byte)
- func (this *DefineEventStatement) Encode() (dst []byte)
- func (this *DefineEventStatement) ExtendCORK() byte
- func (x *DefineEventStatement) IsCodecEmpty() bool
- func (this *DefineEventStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineEventStatement) String() string
- func (this *DefineEventStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineEventStatement) Writeable() bool
- type DefineFieldStatement
- func (x *DefineFieldStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineFieldStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineFieldStatement) Decode(src []byte)
- func (this *DefineFieldStatement) Encode() (dst []byte)
- func (this *DefineFieldStatement) ExtendCORK() byte
- func (x *DefineFieldStatement) IsCodecEmpty() bool
- func (this *DefineFieldStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineFieldStatement) String() string
- func (this *DefineFieldStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineFieldStatement) Writeable() bool
- type DefineIndexStatement
- func (x *DefineIndexStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineIndexStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineIndexStatement) Decode(src []byte)
- func (this *DefineIndexStatement) Encode() (dst []byte)
- func (this *DefineIndexStatement) ExtendCORK() byte
- func (x *DefineIndexStatement) IsCodecEmpty() bool
- func (this *DefineIndexStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineIndexStatement) String() string
- func (this *DefineIndexStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineIndexStatement) Writeable() bool
- type DefineLoginStatement
- func (x *DefineLoginStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineLoginStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineLoginStatement) Decode(src []byte)
- func (this *DefineLoginStatement) Encode() (dst []byte)
- func (this *DefineLoginStatement) ExtendCORK() byte
- func (x *DefineLoginStatement) IsCodecEmpty() bool
- func (this *DefineLoginStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineLoginStatement) String() string
- func (this *DefineLoginStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineLoginStatement) Writeable() bool
- type DefineNamespaceStatement
- func (x *DefineNamespaceStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineNamespaceStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineNamespaceStatement) Decode(src []byte)
- func (this *DefineNamespaceStatement) Encode() (dst []byte)
- func (this *DefineNamespaceStatement) ExtendCORK() byte
- func (x *DefineNamespaceStatement) IsCodecEmpty() bool
- func (this *DefineNamespaceStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineNamespaceStatement) String() string
- func (this *DefineNamespaceStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineNamespaceStatement) Writeable() bool
- type DefineScopeStatement
- func (x *DefineScopeStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineScopeStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineScopeStatement) Decode(src []byte)
- func (this *DefineScopeStatement) Encode() (dst []byte)
- func (this *DefineScopeStatement) ExtendCORK() byte
- func (x *DefineScopeStatement) IsCodecEmpty() bool
- func (this *DefineScopeStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineScopeStatement) String() string
- func (this *DefineScopeStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineScopeStatement) Writeable() bool
- type DefineTableStatement
- func (x *DefineTableStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineTableStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineTableStatement) Decode(src []byte)
- func (this *DefineTableStatement) Encode() (dst []byte)
- func (this *DefineTableStatement) ExtendCORK() byte
- func (x *DefineTableStatement) IsCodecEmpty() bool
- func (this *DefineTableStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineTableStatement) String() (s string)
- func (this *DefineTableStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineTableStatement) Writeable() bool
- type DefineTokenStatement
- func (x *DefineTokenStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DefineTokenStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DefineTokenStatement) Decode(src []byte)
- func (this *DefineTokenStatement) Encode() (dst []byte)
- func (this *DefineTokenStatement) ExtendCORK() byte
- func (x *DefineTokenStatement) IsCodecEmpty() bool
- func (this *DefineTokenStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DefineTokenStatement) String() string
- func (this *DefineTokenStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DefineTokenStatement) Writeable() bool
- type DeleteStatement
- func (x *DeleteStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DeleteStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DeleteStatement) Decode(src []byte)
- func (s *DeleteStatement) Duration() time.Duration
- func (this *DeleteStatement) Encode() (dst []byte)
- func (this *DeleteStatement) ExtendCORK() byte
- func (x *DeleteStatement) IsCodecEmpty() bool
- func (this *DeleteStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this DeleteStatement) String() string
- func (this *DeleteStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *DeleteStatement) Writeable() bool
- type DiffExpression
- func (x *DiffExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DiffExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *DiffExpression) ExtendCORK() byte
- func (x *DiffExpression) IsCodecEmpty() bool
- func (this *DiffExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this DiffExpression) String() string
- func (this *DiffExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type Empty
- func (x *Empty) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Empty) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Empty) ExtendCORK() byte
- func (x *Empty) IsCodecEmpty() bool
- func (this *Empty) MarshalCORK(w *cork.Writer) (err error)
- func (this Empty) String() string
- func (this *Empty) UnmarshalCORK(r *cork.Reader) (err error)
- type EmptyError
- type Expr
- type Exprs
- type Fetch
- func (x *Fetch) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Fetch) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Fetch) ExtendCORK() byte
- func (x *Fetch) IsCodecEmpty() bool
- func (this *Fetch) MarshalCORK(w *cork.Writer) (dst []byte, err error)
- func (this Fetch) String() string
- func (this *Fetch) UnmarshalCORK(r *cork.Reader) (err error)
- type Fetchs
- type Field
- func (x *Field) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Field) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Field) ExtendCORK() byte
- func (x *Field) IsCodecEmpty() bool
- func (this *Field) MarshalCORK(w *cork.Writer) (err error)
- func (this Field) String() string
- func (this *Field) UnmarshalCORK(r *cork.Reader) (err error)
- type Fields
- type FuncExpression
- func (x *FuncExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *FuncExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *FuncExpression) ExtendCORK() byte
- func (x *FuncExpression) IsCodecEmpty() bool
- func (this *FuncExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this FuncExpression) String() string
- func (this *FuncExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type Group
- func (x *Group) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Group) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Group) ExtendCORK() byte
- func (x *Group) IsCodecEmpty() bool
- func (this *Group) MarshalCORK(w *cork.Writer) (err error)
- func (this Group) String() string
- func (this *Group) UnmarshalCORK(r *cork.Reader) (err error)
- type GroupError
- type Groups
- type Ident
- func (x *Ident) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Ident) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Ident) ExtendCORK() byte
- func (x *Ident) IsCodecEmpty() bool
- func (this *Ident) MarshalCORK(w *cork.Writer) (err error)
- func (this Ident) String() string
- func (this *Ident) UnmarshalCORK(r *cork.Reader) (err error)
- type Idents
- type IfelseStatement
- func (x *IfelseStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *IfelseStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *IfelseStatement) Decode(src []byte)
- func (this *IfelseStatement) Encode() (dst []byte)
- func (this *IfelseStatement) ExtendCORK() byte
- func (x *IfelseStatement) IsCodecEmpty() bool
- func (this *IfelseStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this IfelseStatement) String() string
- func (this *IfelseStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *IfelseStatement) Writeable() bool
- type InfoStatement
- type InsertStatement
- func (x *InsertStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *InsertStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *InsertStatement) Decode(src []byte)
- func (s *InsertStatement) Duration() time.Duration
- func (this *InsertStatement) Encode() (dst []byte)
- func (this *InsertStatement) ExtendCORK() byte
- func (x *InsertStatement) IsCodecEmpty() bool
- func (this *InsertStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this InsertStatement) String() string
- func (this *InsertStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *InsertStatement) Writeable() bool
- type ItemExpression
- func (x *ItemExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ItemExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *ItemExpression) ExtendCORK() byte
- func (x *ItemExpression) IsCodecEmpty() bool
- func (this *ItemExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this ItemExpression) String() string
- func (this *ItemExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type JoinExpression
- func (x *JoinExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *JoinExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *JoinExpression) ExtendCORK() byte
- func (x *JoinExpression) IsCodecEmpty() bool
- func (this *JoinExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this JoinExpression) String() string
- func (this *JoinExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type KillStatement
- type KillableStatement
- type LetStatement
- type LiveStatement
- func (x *LiveStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *LiveStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *LiveStatement) Decode(src []byte)
- func (this *LiveStatement) Encode() (dst []byte)
- func (this *LiveStatement) ExtendCORK() byte
- func (x *LiveStatement) IsCodecEmpty() bool
- func (this *LiveStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this LiveStatement) String() string
- func (this *LiveStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *LiveStatement) Writeable() bool
- type MergeExpression
- func (x *MergeExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *MergeExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *MergeExpression) ExtendCORK() byte
- func (x *MergeExpression) IsCodecEmpty() bool
- func (this *MergeExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this MergeExpression) String() string
- func (this *MergeExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type Model
- func (x *Model) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Model) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Model) ExtendCORK() byte
- func (x *Model) IsCodecEmpty() bool
- func (this *Model) MarshalCORK(w *cork.Writer) (err error)
- func (this Model) String() string
- func (this *Model) UnmarshalCORK(r *cork.Reader) (err error)
- type Models
- type MultExpression
- func (x *MultExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *MultExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *MultExpression) ExtendCORK() byte
- func (x *MultExpression) IsCodecEmpty() bool
- func (this *MultExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this MultExpression) String() string
- func (this *MultExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type Null
- func (x *Null) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Null) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Null) ExtendCORK() byte
- func (x *Null) IsCodecEmpty() bool
- func (this *Null) MarshalCORK(w *cork.Writer) (err error)
- func (this Null) String() string
- func (this *Null) UnmarshalCORK(r *cork.Reader) (err error)
- type OptStatement
- type Order
- func (x *Order) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Order) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Order) ExtendCORK() byte
- func (x *Order) IsCodecEmpty() bool
- func (this *Order) MarshalCORK(w *cork.Writer) (dst []byte, err error)
- func (this Order) String() string
- func (this *Order) UnmarshalCORK(r *cork.Reader) (err error)
- type Orders
- type Param
- func (x *Param) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Param) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Param) ExtendCORK() byte
- func (x *Param) IsCodecEmpty() bool
- func (this *Param) MarshalCORK(w *cork.Writer) (err error)
- func (this Param) String() string
- func (this *Param) UnmarshalCORK(r *cork.Reader) (err error)
- type Params
- type ParseError
- type PartExpression
- func (x *PartExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *PartExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *PartExpression) ExtendCORK() byte
- func (x *PartExpression) IsCodecEmpty() bool
- func (this *PartExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this PartExpression) String() string
- func (this *PartExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type PathExpression
- func (x *PathExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *PathExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *PathExpression) ExtendCORK() byte
- func (x *PathExpression) IsCodecEmpty() bool
- func (this *PathExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this PathExpression) String() string
- func (this *PathExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type PermExpression
- func (x *PermExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *PermExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *PermExpression) ExtendCORK() byte
- func (x *PermExpression) IsCodecEmpty() bool
- func (this *PermExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this PermExpression) String() string
- func (this *PermExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type Point
- func (x *Point) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Point) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Point) ExtendCORK() byte
- func (x *Point) IsCodecEmpty() bool
- func (this Point) JSON() string
- func (this *Point) MarshalCORK(w *cork.Writer) (err error)
- func (this Point) MarshalJSON() (data []byte, err error)
- func (this Point) MarshalText() (data []byte, err error)
- func (this Point) String() string
- func (this *Point) UnmarshalCORK(r *cork.Reader) (err error)
- type Points
- type Polygon
- func (x *Polygon) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Polygon) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Polygon) ExtendCORK() byte
- func (x *Polygon) IsCodecEmpty() bool
- func (this Polygon) JSON() string
- func (this *Polygon) MarshalCORK(w *cork.Writer) (err error)
- func (this Polygon) MarshalJSON() (data []byte, err error)
- func (this Polygon) MarshalText() (data []byte, err error)
- func (this Polygon) String() string
- func (this *Polygon) UnmarshalCORK(r *cork.Reader) (err error)
- type Polygons
- type Query
- type Regex
- func (x *Regex) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Regex) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Regex) ExtendCORK() byte
- func (x *Regex) IsCodecEmpty() bool
- func (this *Regex) MarshalCORK(w *cork.Writer) (err error)
- func (this Regex) String() string
- func (this *Regex) UnmarshalCORK(r *cork.Reader) (err error)
- type Regexs
- type RelateStatement
- func (x *RelateStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *RelateStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *RelateStatement) Decode(src []byte)
- func (s *RelateStatement) Duration() time.Duration
- func (this *RelateStatement) Encode() (dst []byte)
- func (this *RelateStatement) ExtendCORK() byte
- func (x *RelateStatement) IsCodecEmpty() bool
- func (this *RelateStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this RelateStatement) String() string
- func (this *RelateStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *RelateStatement) Writeable() bool
- type RemoveDatabaseStatement
- func (x *RemoveDatabaseStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *RemoveDatabaseStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (x *RemoveDatabaseStatement) IsCodecEmpty() bool
- func (this RemoveDatabaseStatement) String() string
- func (s *RemoveDatabaseStatement) Writeable() bool
- type RemoveEventStatement
- type RemoveFieldStatement
- type RemoveIndexStatement
- type RemoveLoginStatement
- type RemoveNamespaceStatement
- func (x *RemoveNamespaceStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *RemoveNamespaceStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (x *RemoveNamespaceStatement) IsCodecEmpty() bool
- func (this RemoveNamespaceStatement) String() string
- func (s *RemoveNamespaceStatement) Writeable() bool
- type RemoveScopeStatement
- type RemoveTableStatement
- type RemoveTokenStatement
- type ReturnStatement
- type RunStatement
- func (x *RunStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *RunStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *RunStatement) Decode(src []byte)
- func (this *RunStatement) Encode() (dst []byte)
- func (this *RunStatement) ExtendCORK() byte
- func (x *RunStatement) IsCodecEmpty() bool
- func (this *RunStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this RunStatement) String() string
- func (this *RunStatement) UnmarshalCORK(r *cork.Reader) (err error)
- type SelectStatement
- func (x *SelectStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *SelectStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *SelectStatement) Decode(src []byte)
- func (s *SelectStatement) Duration() time.Duration
- func (this *SelectStatement) Encode() (dst []byte)
- func (this *SelectStatement) ExtendCORK() byte
- func (x *SelectStatement) IsCodecEmpty() bool
- func (this *SelectStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this SelectStatement) String() string
- func (this *SelectStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *SelectStatement) Writeable() bool
- type Statement
- type Statements
- type SubExpression
- func (x *SubExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *SubExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *SubExpression) ExtendCORK() byte
- func (x *SubExpression) IsCodecEmpty() bool
- func (this *SubExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this SubExpression) String() string
- func (this *SubExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type SubpExpression
- func (x *SubpExpression) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *SubpExpression) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *SubpExpression) ExtendCORK() byte
- func (x *SubpExpression) IsCodecEmpty() bool
- func (this *SubpExpression) MarshalCORK(w *cork.Writer) (err error)
- func (this SubpExpression) String() string
- func (this *SubpExpression) UnmarshalCORK(r *cork.Reader) (err error)
- type Table
- func (x *Table) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Table) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Table) ExtendCORK() byte
- func (x *Table) IsCodecEmpty() bool
- func (this *Table) MarshalCORK(w *cork.Writer) (err error)
- func (this Table) String() string
- func (this *Table) UnmarshalCORK(r *cork.Reader) (err error)
- type Tables
- type Thing
- func (this Thing) Bytes() []byte
- func (x *Thing) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Thing) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Thing) ExtendCORK() byte
- func (x *Thing) IsCodecEmpty() bool
- func (this *Thing) MarshalCORK(w *cork.Writer) (err error)
- func (this Thing) MarshalText() (data []byte, err error)
- func (this Thing) String() string
- func (this *Thing) UnmarshalCORK(r *cork.Reader) (err error)
- type Things
- type Token
- type UpdateStatement
- func (x *UpdateStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *UpdateStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *UpdateStatement) Decode(src []byte)
- func (s *UpdateStatement) Duration() time.Duration
- func (this *UpdateStatement) Encode() (dst []byte)
- func (this *UpdateStatement) ExtendCORK() byte
- func (x *UpdateStatement) IsCodecEmpty() bool
- func (this *UpdateStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this UpdateStatement) String() string
- func (this *UpdateStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *UpdateStatement) Writeable() bool
- type UpsertStatement
- func (x *UpsertStatement) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *UpsertStatement) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *UpsertStatement) Decode(src []byte)
- func (s *UpsertStatement) Duration() time.Duration
- func (this *UpsertStatement) Encode() (dst []byte)
- func (this *UpsertStatement) ExtendCORK() byte
- func (x *UpsertStatement) IsCodecEmpty() bool
- func (this *UpsertStatement) MarshalCORK(w *cork.Writer) (err error)
- func (this UpsertStatement) String() string
- func (this *UpsertStatement) UnmarshalCORK(r *cork.Reader) (err error)
- func (s *UpsertStatement) Writeable() bool
- type UseStatement
- type Value
- func (x *Value) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Value) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Value) ExtendCORK() byte
- func (x *Value) IsCodecEmpty() bool
- func (this *Value) MarshalCORK(w *cork.Writer) (err error)
- func (this Value) String() string
- func (this *Value) UnmarshalCORK(r *cork.Reader) (err error)
- type Values
- type Void
- func (x *Void) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Void) CodecEncodeSelf(e *codec1978.Encoder)
- func (this *Void) ExtendCORK() byte
- func (x *Void) IsCodecEmpty() bool
- func (this *Void) MarshalCORK(w *cork.Writer) (err error)
- func (this Void) String() string
- func (this *Void) UnmarshalCORK(r *cork.Reader) (err error)
- type WriteableStatement
Constants ¶
const ( // Parsing format for date times RFCDate = "2006-01-02" // Parsing format for json date times RFCTime = time.RFC3339 // Parsing format for json nanosecond times RFCNano = time.RFC3339Nano )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type All ¶
type All struct{}
All represents a * expression.
func (*All) CodecDecodeSelf ¶
func (*All) CodecEncodeSelf ¶
func (*All) ExtendCORK ¶
func (*All) IsCodecEmpty ¶
type Any ¶
type Any struct{}
Any represents a ? expression.
func (*Any) CodecDecodeSelf ¶
func (*Any) CodecEncodeSelf ¶
func (*Any) ExtendCORK ¶
func (*Any) IsCodecEmpty ¶
type AuthableStatement ¶
type Batch ¶
Batch comment
func (*Batch) CodecDecodeSelf ¶
func (*Batch) CodecEncodeSelf ¶
func (*Batch) ExtendCORK ¶
func (*Batch) IsCodecEmpty ¶
type Batchs ¶
type Batchs []*Batch
Batchs represents multiple Batch clauses.
func (*Batchs) CodecDecodeSelf ¶
func (Batchs) CodecEncodeSelf ¶
type BeginStatement ¶
type BeginStatement struct{}
BeginStatement represents a SQL BEGIN TRANSACTION statement.
func (*BeginStatement) CodecDecodeSelf ¶
func (x *BeginStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*BeginStatement) CodecEncodeSelf ¶
func (x *BeginStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*BeginStatement) IsCodecEmpty ¶
func (x *BeginStatement) IsCodecEmpty() bool
func (BeginStatement) String ¶
func (this BeginStatement) String() string
type BinaryExpression ¶
BinaryExpression represents a WHERE expression.
func (*BinaryExpression) CodecDecodeSelf ¶
func (x *BinaryExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*BinaryExpression) CodecEncodeSelf ¶
func (x *BinaryExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*BinaryExpression) ExtendCORK ¶
func (this *BinaryExpression) ExtendCORK() byte
func (*BinaryExpression) IsCodecEmpty ¶
func (x *BinaryExpression) IsCodecEmpty() bool
func (*BinaryExpression) MarshalCORK ¶
func (this *BinaryExpression) MarshalCORK(w *cork.Writer) (err error)
func (BinaryExpression) String ¶
func (this BinaryExpression) String() string
func (*BinaryExpression) UnmarshalCORK ¶
func (this *BinaryExpression) UnmarshalCORK(r *cork.Reader) (err error)
type CancelStatement ¶
type CancelStatement struct{}
CancelStatement represents a SQL CANCEL TRANSACTION statement.
func (*CancelStatement) CodecDecodeSelf ¶
func (x *CancelStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*CancelStatement) CodecEncodeSelf ¶
func (x *CancelStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*CancelStatement) IsCodecEmpty ¶
func (x *CancelStatement) IsCodecEmpty() bool
func (CancelStatement) String ¶
func (this CancelStatement) String() string
type Circle ¶
Circle comment
func (*Circle) CodecDecodeSelf ¶
func (*Circle) CodecEncodeSelf ¶
func (*Circle) ExtendCORK ¶
func (*Circle) IsCodecEmpty ¶
func (Circle) MarshalJSON ¶
func (Circle) MarshalText ¶
type Circles ¶
type Circles []*Circle
Circles represents multiple Circle clauses.
func (*Circles) CodecDecodeSelf ¶
func (Circles) CodecEncodeSelf ¶
type CommitStatement ¶
type CommitStatement struct{}
CommitStatement represents a SQL COMMIT TRANSACTION statement.
func (*CommitStatement) CodecDecodeSelf ¶
func (x *CommitStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*CommitStatement) CodecEncodeSelf ¶
func (x *CommitStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*CommitStatement) IsCodecEmpty ¶
func (x *CommitStatement) IsCodecEmpty() bool
func (CommitStatement) String ¶
func (this CommitStatement) String() string
type ContentExpression ¶
type ContentExpression struct {
Data Expr
}
ContentExpression represents JSON to REPLACE
func (*ContentExpression) CodecDecodeSelf ¶
func (x *ContentExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*ContentExpression) CodecEncodeSelf ¶
func (x *ContentExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*ContentExpression) ExtendCORK ¶
func (this *ContentExpression) ExtendCORK() byte
func (*ContentExpression) IsCodecEmpty ¶
func (x *ContentExpression) IsCodecEmpty() bool
func (*ContentExpression) MarshalCORK ¶
func (this *ContentExpression) MarshalCORK(w *cork.Writer) (err error)
func (ContentExpression) String ¶
func (this ContentExpression) String() string
func (*ContentExpression) UnmarshalCORK ¶
func (this *ContentExpression) UnmarshalCORK(r *cork.Reader) (err error)
type CreateStatement ¶
CreateStatement represents a SQL CREATE statement.
func (*CreateStatement) CodecDecodeSelf ¶
func (x *CreateStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*CreateStatement) CodecEncodeSelf ¶
func (x *CreateStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*CreateStatement) Decode ¶
func (this *CreateStatement) Decode(src []byte)
func (*CreateStatement) Duration ¶
func (s *CreateStatement) Duration() time.Duration
func (*CreateStatement) Encode ¶
func (this *CreateStatement) Encode() (dst []byte)
func (*CreateStatement) ExtendCORK ¶
func (this *CreateStatement) ExtendCORK() byte
func (*CreateStatement) IsCodecEmpty ¶
func (x *CreateStatement) IsCodecEmpty() bool
func (*CreateStatement) MarshalCORK ¶
func (this *CreateStatement) MarshalCORK(w *cork.Writer) (err error)
func (CreateStatement) String ¶
func (this CreateStatement) String() string
func (*CreateStatement) UnmarshalCORK ¶
func (this *CreateStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*CreateStatement) Writeable ¶
func (s *CreateStatement) Writeable() bool
type DataExpression ¶
type DataExpression struct {
Data []*ItemExpression
}
DataExpression represents a SET expression.
func (*DataExpression) CodecDecodeSelf ¶
func (x *DataExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*DataExpression) CodecEncodeSelf ¶
func (x *DataExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*DataExpression) ExtendCORK ¶
func (this *DataExpression) ExtendCORK() byte
func (*DataExpression) IsCodecEmpty ¶
func (x *DataExpression) IsCodecEmpty() bool
func (*DataExpression) MarshalCORK ¶
func (this *DataExpression) MarshalCORK(w *cork.Writer) (err error)
func (DataExpression) String ¶
func (this DataExpression) String() string
func (*DataExpression) UnmarshalCORK ¶
func (this *DataExpression) UnmarshalCORK(r *cork.Reader) (err error)
type DefineDatabaseStatement ¶
type DefineDatabaseStatement struct {
Name *Ident
}
func (*DefineDatabaseStatement) CodecDecodeSelf ¶
func (x *DefineDatabaseStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineDatabaseStatement) CodecEncodeSelf ¶
func (x *DefineDatabaseStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineDatabaseStatement) Decode ¶
func (this *DefineDatabaseStatement) Decode(src []byte)
func (*DefineDatabaseStatement) Encode ¶
func (this *DefineDatabaseStatement) Encode() (dst []byte)
func (*DefineDatabaseStatement) ExtendCORK ¶
func (this *DefineDatabaseStatement) ExtendCORK() byte
func (*DefineDatabaseStatement) IsCodecEmpty ¶
func (x *DefineDatabaseStatement) IsCodecEmpty() bool
func (*DefineDatabaseStatement) MarshalCORK ¶
func (this *DefineDatabaseStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineDatabaseStatement) String ¶
func (this DefineDatabaseStatement) String() string
func (*DefineDatabaseStatement) UnmarshalCORK ¶
func (this *DefineDatabaseStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineDatabaseStatement) Writeable ¶
func (s *DefineDatabaseStatement) Writeable() bool
type DefineEventStatement ¶
DefineEventStatement represents an SQL DEFINE EVENT statement.
func (*DefineEventStatement) CodecDecodeSelf ¶
func (x *DefineEventStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineEventStatement) CodecEncodeSelf ¶
func (x *DefineEventStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineEventStatement) Decode ¶
func (this *DefineEventStatement) Decode(src []byte)
func (*DefineEventStatement) Encode ¶
func (this *DefineEventStatement) Encode() (dst []byte)
func (*DefineEventStatement) ExtendCORK ¶
func (this *DefineEventStatement) ExtendCORK() byte
func (*DefineEventStatement) IsCodecEmpty ¶
func (x *DefineEventStatement) IsCodecEmpty() bool
func (*DefineEventStatement) MarshalCORK ¶
func (this *DefineEventStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineEventStatement) String ¶
func (this DefineEventStatement) String() string
func (*DefineEventStatement) UnmarshalCORK ¶
func (this *DefineEventStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineEventStatement) Writeable ¶
func (s *DefineEventStatement) Writeable() bool
type DefineFieldStatement ¶
type DefineFieldStatement struct { Name *Ident What Tables Perms Expr Type string Kind string Value Expr Assert Expr Priority float64 }
DefineFieldStatement represents an SQL DEFINE FIELD statement.
func (*DefineFieldStatement) CodecDecodeSelf ¶
func (x *DefineFieldStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineFieldStatement) CodecEncodeSelf ¶
func (x *DefineFieldStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineFieldStatement) Decode ¶
func (this *DefineFieldStatement) Decode(src []byte)
func (*DefineFieldStatement) Encode ¶
func (this *DefineFieldStatement) Encode() (dst []byte)
func (*DefineFieldStatement) ExtendCORK ¶
func (this *DefineFieldStatement) ExtendCORK() byte
func (*DefineFieldStatement) IsCodecEmpty ¶
func (x *DefineFieldStatement) IsCodecEmpty() bool
func (*DefineFieldStatement) MarshalCORK ¶
func (this *DefineFieldStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineFieldStatement) String ¶
func (this DefineFieldStatement) String() string
func (*DefineFieldStatement) UnmarshalCORK ¶
func (this *DefineFieldStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineFieldStatement) Writeable ¶
func (s *DefineFieldStatement) Writeable() bool
type DefineIndexStatement ¶
DefineIndexStatement represents an SQL DEFINE INDEX statement.
func (*DefineIndexStatement) CodecDecodeSelf ¶
func (x *DefineIndexStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineIndexStatement) CodecEncodeSelf ¶
func (x *DefineIndexStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineIndexStatement) Decode ¶
func (this *DefineIndexStatement) Decode(src []byte)
func (*DefineIndexStatement) Encode ¶
func (this *DefineIndexStatement) Encode() (dst []byte)
func (*DefineIndexStatement) ExtendCORK ¶
func (this *DefineIndexStatement) ExtendCORK() byte
func (*DefineIndexStatement) IsCodecEmpty ¶
func (x *DefineIndexStatement) IsCodecEmpty() bool
func (*DefineIndexStatement) MarshalCORK ¶
func (this *DefineIndexStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineIndexStatement) String ¶
func (this DefineIndexStatement) String() string
func (*DefineIndexStatement) UnmarshalCORK ¶
func (this *DefineIndexStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineIndexStatement) Writeable ¶
func (s *DefineIndexStatement) Writeable() bool
type DefineLoginStatement ¶
DefineLoginStatement represents an SQL DEFINE LOGIN statement.
func (*DefineLoginStatement) CodecDecodeSelf ¶
func (x *DefineLoginStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineLoginStatement) CodecEncodeSelf ¶
func (x *DefineLoginStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineLoginStatement) Decode ¶
func (this *DefineLoginStatement) Decode(src []byte)
func (*DefineLoginStatement) Encode ¶
func (this *DefineLoginStatement) Encode() (dst []byte)
func (*DefineLoginStatement) ExtendCORK ¶
func (this *DefineLoginStatement) ExtendCORK() byte
func (*DefineLoginStatement) IsCodecEmpty ¶
func (x *DefineLoginStatement) IsCodecEmpty() bool
func (*DefineLoginStatement) MarshalCORK ¶
func (this *DefineLoginStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineLoginStatement) String ¶
func (this DefineLoginStatement) String() string
func (*DefineLoginStatement) UnmarshalCORK ¶
func (this *DefineLoginStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineLoginStatement) Writeable ¶
func (s *DefineLoginStatement) Writeable() bool
type DefineNamespaceStatement ¶
type DefineNamespaceStatement struct {
Name *Ident
}
func (*DefineNamespaceStatement) CodecDecodeSelf ¶
func (x *DefineNamespaceStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineNamespaceStatement) CodecEncodeSelf ¶
func (x *DefineNamespaceStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineNamespaceStatement) Decode ¶
func (this *DefineNamespaceStatement) Decode(src []byte)
func (*DefineNamespaceStatement) Encode ¶
func (this *DefineNamespaceStatement) Encode() (dst []byte)
func (*DefineNamespaceStatement) ExtendCORK ¶
func (this *DefineNamespaceStatement) ExtendCORK() byte
func (*DefineNamespaceStatement) IsCodecEmpty ¶
func (x *DefineNamespaceStatement) IsCodecEmpty() bool
func (*DefineNamespaceStatement) MarshalCORK ¶
func (this *DefineNamespaceStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineNamespaceStatement) String ¶
func (this DefineNamespaceStatement) String() string
func (*DefineNamespaceStatement) UnmarshalCORK ¶
func (this *DefineNamespaceStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineNamespaceStatement) Writeable ¶
func (s *DefineNamespaceStatement) Writeable() bool
type DefineScopeStatement ¶
type DefineScopeStatement struct { Name *Ident Time time.Duration Code []byte Signup Expr Signin Expr Connect Expr OnSignup Expr OnSignin Expr }
DefineScopeStatement represents an SQL DEFINE SCOPE statement.
func (*DefineScopeStatement) CodecDecodeSelf ¶
func (x *DefineScopeStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineScopeStatement) CodecEncodeSelf ¶
func (x *DefineScopeStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineScopeStatement) Decode ¶
func (this *DefineScopeStatement) Decode(src []byte)
func (*DefineScopeStatement) Encode ¶
func (this *DefineScopeStatement) Encode() (dst []byte)
func (*DefineScopeStatement) ExtendCORK ¶
func (this *DefineScopeStatement) ExtendCORK() byte
func (*DefineScopeStatement) IsCodecEmpty ¶
func (x *DefineScopeStatement) IsCodecEmpty() bool
func (*DefineScopeStatement) MarshalCORK ¶
func (this *DefineScopeStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineScopeStatement) String ¶
func (this DefineScopeStatement) String() string
func (*DefineScopeStatement) UnmarshalCORK ¶
func (this *DefineScopeStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineScopeStatement) Writeable ¶
func (s *DefineScopeStatement) Writeable() bool
type DefineTableStatement ¶
type DefineTableStatement struct { Name *Ident What Tables Full bool Vers bool Drop bool Lock bool Expr Fields From Tables Cond Expr Group Groups Perms Expr }
DefineTableStatement represents an SQL DEFINE TABLE statement.
func (*DefineTableStatement) CodecDecodeSelf ¶
func (x *DefineTableStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineTableStatement) CodecEncodeSelf ¶
func (x *DefineTableStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineTableStatement) Decode ¶
func (this *DefineTableStatement) Decode(src []byte)
func (*DefineTableStatement) Encode ¶
func (this *DefineTableStatement) Encode() (dst []byte)
func (*DefineTableStatement) ExtendCORK ¶
func (this *DefineTableStatement) ExtendCORK() byte
func (*DefineTableStatement) IsCodecEmpty ¶
func (x *DefineTableStatement) IsCodecEmpty() bool
func (*DefineTableStatement) MarshalCORK ¶
func (this *DefineTableStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineTableStatement) String ¶
func (this DefineTableStatement) String() (s string)
func (*DefineTableStatement) UnmarshalCORK ¶
func (this *DefineTableStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineTableStatement) Writeable ¶
func (s *DefineTableStatement) Writeable() bool
type DefineTokenStatement ¶
DefineTokenStatement represents an SQL DEFINE TOKEN statement.
func (*DefineTokenStatement) CodecDecodeSelf ¶
func (x *DefineTokenStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DefineTokenStatement) CodecEncodeSelf ¶
func (x *DefineTokenStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DefineTokenStatement) Decode ¶
func (this *DefineTokenStatement) Decode(src []byte)
func (*DefineTokenStatement) Encode ¶
func (this *DefineTokenStatement) Encode() (dst []byte)
func (*DefineTokenStatement) ExtendCORK ¶
func (this *DefineTokenStatement) ExtendCORK() byte
func (*DefineTokenStatement) IsCodecEmpty ¶
func (x *DefineTokenStatement) IsCodecEmpty() bool
func (*DefineTokenStatement) MarshalCORK ¶
func (this *DefineTokenStatement) MarshalCORK(w *cork.Writer) (err error)
func (DefineTokenStatement) String ¶
func (this DefineTokenStatement) String() string
func (*DefineTokenStatement) UnmarshalCORK ¶
func (this *DefineTokenStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DefineTokenStatement) Writeable ¶
func (s *DefineTokenStatement) Writeable() bool
type DeleteStatement ¶
DeleteStatement represents a SQL DELETE statement.
func (*DeleteStatement) CodecDecodeSelf ¶
func (x *DeleteStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*DeleteStatement) CodecEncodeSelf ¶
func (x *DeleteStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*DeleteStatement) Decode ¶
func (this *DeleteStatement) Decode(src []byte)
func (*DeleteStatement) Duration ¶
func (s *DeleteStatement) Duration() time.Duration
func (*DeleteStatement) Encode ¶
func (this *DeleteStatement) Encode() (dst []byte)
func (*DeleteStatement) ExtendCORK ¶
func (this *DeleteStatement) ExtendCORK() byte
func (*DeleteStatement) IsCodecEmpty ¶
func (x *DeleteStatement) IsCodecEmpty() bool
func (*DeleteStatement) MarshalCORK ¶
func (this *DeleteStatement) MarshalCORK(w *cork.Writer) (err error)
func (DeleteStatement) String ¶
func (this DeleteStatement) String() string
func (*DeleteStatement) UnmarshalCORK ¶
func (this *DeleteStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*DeleteStatement) Writeable ¶
func (s *DeleteStatement) Writeable() bool
type DiffExpression ¶
type DiffExpression struct {
Data Expr
}
DiffExpression represents a JSON to DIFF
func (*DiffExpression) CodecDecodeSelf ¶
func (x *DiffExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*DiffExpression) CodecEncodeSelf ¶
func (x *DiffExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*DiffExpression) ExtendCORK ¶
func (this *DiffExpression) ExtendCORK() byte
func (*DiffExpression) IsCodecEmpty ¶
func (x *DiffExpression) IsCodecEmpty() bool
func (*DiffExpression) MarshalCORK ¶
func (this *DiffExpression) MarshalCORK(w *cork.Writer) (err error)
func (DiffExpression) String ¶
func (this DiffExpression) String() string
func (*DiffExpression) UnmarshalCORK ¶
func (this *DiffExpression) UnmarshalCORK(r *cork.Reader) (err error)
type Empty ¶
type Empty struct{}
Empty represents an expression which is null or "".
func (*Empty) CodecDecodeSelf ¶
func (*Empty) CodecEncodeSelf ¶
func (*Empty) ExtendCORK ¶
func (*Empty) IsCodecEmpty ¶
type EmptyError ¶
type EmptyError struct{}
EmptyError represents an error that occurred during parsing.
func (*EmptyError) Error ¶
func (e *EmptyError) Error() string
Error returns the string representation of the error.
type Exprs ¶
type Exprs []Expr
Exprs represents multiple sql expressions.
func (*Exprs) CodecDecodeSelf ¶
func (Exprs) CodecEncodeSelf ¶
type Fetch ¶
type Fetch struct {
Expr Expr
}
Fetch represents a FETCH AS clause.
func (*Fetch) CodecDecodeSelf ¶
func (*Fetch) CodecEncodeSelf ¶
func (*Fetch) ExtendCORK ¶
func (*Fetch) IsCodecEmpty ¶
type Fetchs ¶
type Fetchs []*Fetch
Fetchs represents multiple FETCH AS clauses.
func (*Fetchs) CodecDecodeSelf ¶
func (Fetchs) CodecEncodeSelf ¶
type Field ¶
Field represents a SELECT AS clause.
func (*Field) CodecDecodeSelf ¶
func (*Field) CodecEncodeSelf ¶
func (*Field) ExtendCORK ¶
func (*Field) IsCodecEmpty ¶
type Fields ¶
type Fields []*Field
Fields represents multiple SELECT AS clauses.
func (*Fields) CodecDecodeSelf ¶
func (Fields) CodecEncodeSelf ¶
type FuncExpression ¶
FuncExpression represents a function call.
func (*FuncExpression) CodecDecodeSelf ¶
func (x *FuncExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*FuncExpression) CodecEncodeSelf ¶
func (x *FuncExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*FuncExpression) ExtendCORK ¶
func (this *FuncExpression) ExtendCORK() byte
func (*FuncExpression) IsCodecEmpty ¶
func (x *FuncExpression) IsCodecEmpty() bool
func (*FuncExpression) MarshalCORK ¶
func (this *FuncExpression) MarshalCORK(w *cork.Writer) (err error)
func (FuncExpression) String ¶
func (this FuncExpression) String() string
func (*FuncExpression) UnmarshalCORK ¶
func (this *FuncExpression) UnmarshalCORK(r *cork.Reader) (err error)
type Group ¶
type Group struct {
Expr Expr
}
Group represents a GROUP BY clause.
func (*Group) CodecDecodeSelf ¶
func (*Group) CodecEncodeSelf ¶
func (*Group) ExtendCORK ¶
func (*Group) IsCodecEmpty ¶
type GroupError ¶
type GroupError struct {
// contains filtered or unexported fields
}
GroupError occurs when a 'group' expression is invalid.
func (*GroupError) Error ¶
func (e *GroupError) Error() string
Error returns the string representation of the error.
type Groups ¶
type Groups []*Group
Groups represents multiple GROUP BY clauses.
func (*Groups) CodecDecodeSelf ¶
func (Groups) CodecEncodeSelf ¶
type Ident ¶
type Ident struct {
VA string
}
Ident comment
func (*Ident) CodecDecodeSelf ¶
func (*Ident) CodecEncodeSelf ¶
func (*Ident) ExtendCORK ¶
func (*Ident) IsCodecEmpty ¶
type Idents ¶
type Idents []*Ident
Idents represents multiple Ident clauses.
func (*Idents) CodecDecodeSelf ¶
func (Idents) CodecEncodeSelf ¶
type IfelseStatement ¶
IfelseStatement represents a SQL IFELSE statement.
func (*IfelseStatement) CodecDecodeSelf ¶
func (x *IfelseStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*IfelseStatement) CodecEncodeSelf ¶
func (x *IfelseStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*IfelseStatement) Decode ¶
func (this *IfelseStatement) Decode(src []byte)
func (*IfelseStatement) Encode ¶
func (this *IfelseStatement) Encode() (dst []byte)
func (*IfelseStatement) ExtendCORK ¶
func (this *IfelseStatement) ExtendCORK() byte
func (*IfelseStatement) IsCodecEmpty ¶
func (x *IfelseStatement) IsCodecEmpty() bool
func (*IfelseStatement) MarshalCORK ¶
func (this *IfelseStatement) MarshalCORK(w *cork.Writer) (err error)
func (IfelseStatement) String ¶
func (this IfelseStatement) String() string
func (*IfelseStatement) UnmarshalCORK ¶
func (this *IfelseStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*IfelseStatement) Writeable ¶
func (s *IfelseStatement) Writeable() bool
type InfoStatement ¶
InfoStatement represents an SQL INFO statement.
func (*InfoStatement) CodecDecodeSelf ¶
func (x *InfoStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*InfoStatement) CodecEncodeSelf ¶
func (x *InfoStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*InfoStatement) IsCodecEmpty ¶
func (x *InfoStatement) IsCodecEmpty() bool
func (InfoStatement) String ¶
func (this InfoStatement) String() string
func (*InfoStatement) Writeable ¶
func (s *InfoStatement) Writeable() bool
type InsertStatement ¶
InsertStatement represents a SQL INSERT statement.
func (*InsertStatement) CodecDecodeSelf ¶
func (x *InsertStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*InsertStatement) CodecEncodeSelf ¶
func (x *InsertStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*InsertStatement) Decode ¶
func (this *InsertStatement) Decode(src []byte)
func (*InsertStatement) Duration ¶
func (s *InsertStatement) Duration() time.Duration
func (*InsertStatement) Encode ¶
func (this *InsertStatement) Encode() (dst []byte)
func (*InsertStatement) ExtendCORK ¶
func (this *InsertStatement) ExtendCORK() byte
func (*InsertStatement) IsCodecEmpty ¶
func (x *InsertStatement) IsCodecEmpty() bool
func (*InsertStatement) MarshalCORK ¶
func (this *InsertStatement) MarshalCORK(w *cork.Writer) (err error)
func (InsertStatement) String ¶
func (this InsertStatement) String() string
func (*InsertStatement) UnmarshalCORK ¶
func (this *InsertStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*InsertStatement) Writeable ¶
func (s *InsertStatement) Writeable() bool
type ItemExpression ¶
ItemExpression represents a part of a SET expression.
func (*ItemExpression) CodecDecodeSelf ¶
func (x *ItemExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*ItemExpression) CodecEncodeSelf ¶
func (x *ItemExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*ItemExpression) ExtendCORK ¶
func (this *ItemExpression) ExtendCORK() byte
func (*ItemExpression) IsCodecEmpty ¶
func (x *ItemExpression) IsCodecEmpty() bool
func (*ItemExpression) MarshalCORK ¶
func (this *ItemExpression) MarshalCORK(w *cork.Writer) (err error)
func (ItemExpression) String ¶
func (this ItemExpression) String() string
func (*ItemExpression) UnmarshalCORK ¶
func (this *ItemExpression) UnmarshalCORK(r *cork.Reader) (err error)
type JoinExpression ¶
type JoinExpression struct {
Join Token
}
JoinExpression represents a path join expression.
func (*JoinExpression) CodecDecodeSelf ¶
func (x *JoinExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*JoinExpression) CodecEncodeSelf ¶
func (x *JoinExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*JoinExpression) ExtendCORK ¶
func (this *JoinExpression) ExtendCORK() byte
func (*JoinExpression) IsCodecEmpty ¶
func (x *JoinExpression) IsCodecEmpty() bool
func (*JoinExpression) MarshalCORK ¶
func (this *JoinExpression) MarshalCORK(w *cork.Writer) (err error)
func (JoinExpression) String ¶
func (this JoinExpression) String() string
func (*JoinExpression) UnmarshalCORK ¶
func (this *JoinExpression) UnmarshalCORK(r *cork.Reader) (err error)
type KillStatement ¶
KillStatement represents a SQL KILL statement.
func (*KillStatement) CodecDecodeSelf ¶
func (x *KillStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*KillStatement) CodecEncodeSelf ¶
func (x *KillStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*KillStatement) IsCodecEmpty ¶
func (x *KillStatement) IsCodecEmpty() bool
func (KillStatement) String ¶
func (this KillStatement) String() string
func (*KillStatement) Writeable ¶
func (s *KillStatement) Writeable() bool
type KillableStatement ¶
type LetStatement ¶
LetStatement represents a SQL LET statement.
func (*LetStatement) CodecDecodeSelf ¶
func (x *LetStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*LetStatement) CodecEncodeSelf ¶
func (x *LetStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*LetStatement) IsCodecEmpty ¶
func (x *LetStatement) IsCodecEmpty() bool
func (LetStatement) String ¶
func (this LetStatement) String() string
func (*LetStatement) Writeable ¶
func (s *LetStatement) Writeable() bool
type LiveStatement ¶
type LiveStatement struct { ID string FB string NS string DB string Diff bool Expr Fields What Exprs Cond Expr Fetch Fetchs }
LiveStatement represents a SQL LIVE statement.
func (*LiveStatement) CodecDecodeSelf ¶
func (x *LiveStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*LiveStatement) CodecEncodeSelf ¶
func (x *LiveStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*LiveStatement) Decode ¶
func (this *LiveStatement) Decode(src []byte)
func (*LiveStatement) Encode ¶
func (this *LiveStatement) Encode() (dst []byte)
func (*LiveStatement) ExtendCORK ¶
func (this *LiveStatement) ExtendCORK() byte
func (*LiveStatement) IsCodecEmpty ¶
func (x *LiveStatement) IsCodecEmpty() bool
func (*LiveStatement) MarshalCORK ¶
func (this *LiveStatement) MarshalCORK(w *cork.Writer) (err error)
func (LiveStatement) String ¶
func (this LiveStatement) String() string
func (*LiveStatement) UnmarshalCORK ¶
func (this *LiveStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*LiveStatement) Writeable ¶
func (s *LiveStatement) Writeable() bool
type MergeExpression ¶
type MergeExpression struct {
Data Expr
}
MergeExpression represents JSON to MERGE
func (*MergeExpression) CodecDecodeSelf ¶
func (x *MergeExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*MergeExpression) CodecEncodeSelf ¶
func (x *MergeExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*MergeExpression) ExtendCORK ¶
func (this *MergeExpression) ExtendCORK() byte
func (*MergeExpression) IsCodecEmpty ¶
func (x *MergeExpression) IsCodecEmpty() bool
func (*MergeExpression) MarshalCORK ¶
func (this *MergeExpression) MarshalCORK(w *cork.Writer) (err error)
func (MergeExpression) String ¶
func (this MergeExpression) String() string
func (*MergeExpression) UnmarshalCORK ¶
func (this *MergeExpression) UnmarshalCORK(r *cork.Reader) (err error)
type Model ¶
Model comment
func (*Model) CodecDecodeSelf ¶
func (*Model) CodecEncodeSelf ¶
func (*Model) ExtendCORK ¶
func (*Model) IsCodecEmpty ¶
type Models ¶
type Models []*Model
Models represents multiple Model clauses.
func (*Models) CodecDecodeSelf ¶
func (Models) CodecEncodeSelf ¶
type MultExpression ¶
type MultExpression struct {
Expr []Expr
}
MultExpression represents multiple queries.
func (*MultExpression) CodecDecodeSelf ¶
func (x *MultExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*MultExpression) CodecEncodeSelf ¶
func (x *MultExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*MultExpression) ExtendCORK ¶
func (this *MultExpression) ExtendCORK() byte
func (*MultExpression) IsCodecEmpty ¶
func (x *MultExpression) IsCodecEmpty() bool
func (*MultExpression) MarshalCORK ¶
func (this *MultExpression) MarshalCORK(w *cork.Writer) (err error)
func (MultExpression) String ¶
func (this MultExpression) String() string
func (*MultExpression) UnmarshalCORK ¶
func (this *MultExpression) UnmarshalCORK(r *cork.Reader) (err error)
type Null ¶
type Null struct{}
Null represents an expression which is null.
func (*Null) CodecDecodeSelf ¶
func (*Null) CodecEncodeSelf ¶
func (*Null) ExtendCORK ¶
func (*Null) IsCodecEmpty ¶
type OptStatement ¶
OptStatement represents a SQL OPTION statement.
func (*OptStatement) CodecDecodeSelf ¶
func (x *OptStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*OptStatement) CodecEncodeSelf ¶
func (x *OptStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*OptStatement) IsCodecEmpty ¶
func (x *OptStatement) IsCodecEmpty() bool
func (OptStatement) String ¶
func (this OptStatement) String() string
type Order ¶
Order represents a ORDER BY clause.
func (*Order) CodecDecodeSelf ¶
func (*Order) CodecEncodeSelf ¶
func (*Order) ExtendCORK ¶
func (*Order) IsCodecEmpty ¶
type Orders ¶
type Orders []*Order
Orders represents multiple ORDER BY clauses.
func (*Orders) CodecDecodeSelf ¶
func (Orders) CodecEncodeSelf ¶
type Param ¶
type Param struct {
VA string
}
Param comment
func (*Param) CodecDecodeSelf ¶
func (*Param) CodecEncodeSelf ¶
func (*Param) ExtendCORK ¶
func (*Param) IsCodecEmpty ¶
type Params ¶
type Params []*Param
Params represents multiple Param clauses.
func (*Params) CodecDecodeSelf ¶
func (Params) CodecEncodeSelf ¶
type ParseError ¶
ParseError represents an error that occurred during parsing.
func (*ParseError) Error ¶
func (e *ParseError) Error() string
Error returns the string representation of the error.
type PartExpression ¶
type PartExpression struct {
Part Expr
}
PartExpression represents a path part expression.
func (*PartExpression) CodecDecodeSelf ¶
func (x *PartExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*PartExpression) CodecEncodeSelf ¶
func (x *PartExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*PartExpression) ExtendCORK ¶
func (this *PartExpression) ExtendCORK() byte
func (*PartExpression) IsCodecEmpty ¶
func (x *PartExpression) IsCodecEmpty() bool
func (*PartExpression) MarshalCORK ¶
func (this *PartExpression) MarshalCORK(w *cork.Writer) (err error)
func (PartExpression) String ¶
func (this PartExpression) String() string
func (*PartExpression) UnmarshalCORK ¶
func (this *PartExpression) UnmarshalCORK(r *cork.Reader) (err error)
type PathExpression ¶
type PathExpression struct {
Expr Exprs
}
PathExpression represents a path expression.
func (*PathExpression) CodecDecodeSelf ¶
func (x *PathExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*PathExpression) CodecEncodeSelf ¶
func (x *PathExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*PathExpression) ExtendCORK ¶
func (this *PathExpression) ExtendCORK() byte
func (*PathExpression) IsCodecEmpty ¶
func (x *PathExpression) IsCodecEmpty() bool
func (*PathExpression) MarshalCORK ¶
func (this *PathExpression) MarshalCORK(w *cork.Writer) (err error)
func (PathExpression) String ¶
func (this PathExpression) String() string
func (*PathExpression) UnmarshalCORK ¶
func (this *PathExpression) UnmarshalCORK(r *cork.Reader) (err error)
type PermExpression ¶
PermExpression represents a permissions expression.
func (*PermExpression) CodecDecodeSelf ¶
func (x *PermExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*PermExpression) CodecEncodeSelf ¶
func (x *PermExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*PermExpression) ExtendCORK ¶
func (this *PermExpression) ExtendCORK() byte
func (*PermExpression) IsCodecEmpty ¶
func (x *PermExpression) IsCodecEmpty() bool
func (*PermExpression) MarshalCORK ¶
func (this *PermExpression) MarshalCORK(w *cork.Writer) (err error)
func (PermExpression) String ¶
func (this PermExpression) String() string
func (*PermExpression) UnmarshalCORK ¶
func (this *PermExpression) UnmarshalCORK(r *cork.Reader) (err error)
type Point ¶
Point comment
func (*Point) CodecDecodeSelf ¶
func (*Point) CodecEncodeSelf ¶
func (*Point) ExtendCORK ¶
func (*Point) IsCodecEmpty ¶
func (Point) MarshalJSON ¶
func (Point) MarshalText ¶
type Points ¶
type Points []*Point
Points represents multiple Point clauses.
func (*Points) CodecDecodeSelf ¶
func (Points) CodecEncodeSelf ¶
type Polygon ¶
type Polygon struct {
PS []*Point
}
Polygon comment
func NewPolygon ¶
func (*Polygon) CodecDecodeSelf ¶
func (*Polygon) CodecEncodeSelf ¶
func (*Polygon) ExtendCORK ¶
func (*Polygon) IsCodecEmpty ¶
func (Polygon) MarshalJSON ¶
func (Polygon) MarshalText ¶
type Polygons ¶
type Polygons []*Polygon
Polygons represents multiple Polygon clauses.
func (*Polygons) CodecDecodeSelf ¶
func (Polygons) CodecEncodeSelf ¶
type Query ¶
type Query struct {
Statements Statements
}
Query represents a multi statement SQL query
func (*Query) CodecDecodeSelf ¶
func (*Query) CodecEncodeSelf ¶
func (*Query) IsCodecEmpty ¶
type Regex ¶
type Regex struct {
VA string
}
Regex comment
func (*Regex) CodecDecodeSelf ¶
func (*Regex) CodecEncodeSelf ¶
func (*Regex) ExtendCORK ¶
func (*Regex) IsCodecEmpty ¶
type Regexs ¶
type Regexs []*Regex
Regexs represents multiple Regex clauses.
func (*Regexs) CodecDecodeSelf ¶
func (Regexs) CodecEncodeSelf ¶
type RelateStatement ¶
type RelateStatement struct { Type Expr From Exprs With Exprs Data Expr Uniq bool Echo Token Timeout time.Duration }
RelateStatement represents a SQL RELATE statement.
func (*RelateStatement) CodecDecodeSelf ¶
func (x *RelateStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RelateStatement) CodecEncodeSelf ¶
func (x *RelateStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RelateStatement) Decode ¶
func (this *RelateStatement) Decode(src []byte)
func (*RelateStatement) Duration ¶
func (s *RelateStatement) Duration() time.Duration
func (*RelateStatement) Encode ¶
func (this *RelateStatement) Encode() (dst []byte)
func (*RelateStatement) ExtendCORK ¶
func (this *RelateStatement) ExtendCORK() byte
func (*RelateStatement) IsCodecEmpty ¶
func (x *RelateStatement) IsCodecEmpty() bool
func (*RelateStatement) MarshalCORK ¶
func (this *RelateStatement) MarshalCORK(w *cork.Writer) (err error)
func (RelateStatement) String ¶
func (this RelateStatement) String() string
func (*RelateStatement) UnmarshalCORK ¶
func (this *RelateStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*RelateStatement) Writeable ¶
func (s *RelateStatement) Writeable() bool
type RemoveDatabaseStatement ¶
type RemoveDatabaseStatement struct {
Name *Ident
}
func (*RemoveDatabaseStatement) CodecDecodeSelf ¶
func (x *RemoveDatabaseStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveDatabaseStatement) CodecEncodeSelf ¶
func (x *RemoveDatabaseStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveDatabaseStatement) IsCodecEmpty ¶
func (x *RemoveDatabaseStatement) IsCodecEmpty() bool
func (RemoveDatabaseStatement) String ¶
func (this RemoveDatabaseStatement) String() string
func (*RemoveDatabaseStatement) Writeable ¶
func (s *RemoveDatabaseStatement) Writeable() bool
type RemoveEventStatement ¶
RemoveEventStatement represents an SQL REMOVE EVENT statement.
func (*RemoveEventStatement) CodecDecodeSelf ¶
func (x *RemoveEventStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveEventStatement) CodecEncodeSelf ¶
func (x *RemoveEventStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveEventStatement) IsCodecEmpty ¶
func (x *RemoveEventStatement) IsCodecEmpty() bool
func (RemoveEventStatement) String ¶
func (this RemoveEventStatement) String() string
func (*RemoveEventStatement) Writeable ¶
func (s *RemoveEventStatement) Writeable() bool
type RemoveFieldStatement ¶
RemoveFieldStatement represents an SQL REMOVE FIELD statement.
func (*RemoveFieldStatement) CodecDecodeSelf ¶
func (x *RemoveFieldStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveFieldStatement) CodecEncodeSelf ¶
func (x *RemoveFieldStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveFieldStatement) IsCodecEmpty ¶
func (x *RemoveFieldStatement) IsCodecEmpty() bool
func (RemoveFieldStatement) String ¶
func (this RemoveFieldStatement) String() string
func (*RemoveFieldStatement) Writeable ¶
func (s *RemoveFieldStatement) Writeable() bool
type RemoveIndexStatement ¶
RemoveIndexStatement represents an SQL REMOVE INDEX statement.
func (*RemoveIndexStatement) CodecDecodeSelf ¶
func (x *RemoveIndexStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveIndexStatement) CodecEncodeSelf ¶
func (x *RemoveIndexStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveIndexStatement) IsCodecEmpty ¶
func (x *RemoveIndexStatement) IsCodecEmpty() bool
func (RemoveIndexStatement) String ¶
func (this RemoveIndexStatement) String() string
func (*RemoveIndexStatement) Writeable ¶
func (s *RemoveIndexStatement) Writeable() bool
type RemoveLoginStatement ¶
RemoveLoginStatement represents an SQL REMOVE LOGIN statement.
func (*RemoveLoginStatement) CodecDecodeSelf ¶
func (x *RemoveLoginStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveLoginStatement) CodecEncodeSelf ¶
func (x *RemoveLoginStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveLoginStatement) IsCodecEmpty ¶
func (x *RemoveLoginStatement) IsCodecEmpty() bool
func (RemoveLoginStatement) String ¶
func (this RemoveLoginStatement) String() string
func (*RemoveLoginStatement) Writeable ¶
func (s *RemoveLoginStatement) Writeable() bool
type RemoveNamespaceStatement ¶
type RemoveNamespaceStatement struct {
Name *Ident
}
func (*RemoveNamespaceStatement) CodecDecodeSelf ¶
func (x *RemoveNamespaceStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveNamespaceStatement) CodecEncodeSelf ¶
func (x *RemoveNamespaceStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveNamespaceStatement) IsCodecEmpty ¶
func (x *RemoveNamespaceStatement) IsCodecEmpty() bool
func (RemoveNamespaceStatement) String ¶
func (this RemoveNamespaceStatement) String() string
func (*RemoveNamespaceStatement) Writeable ¶
func (s *RemoveNamespaceStatement) Writeable() bool
type RemoveScopeStatement ¶
type RemoveScopeStatement struct {
Name *Ident
}
RemoveScopeStatement represents an SQL REMOVE SCOPE statement.
func (*RemoveScopeStatement) CodecDecodeSelf ¶
func (x *RemoveScopeStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveScopeStatement) CodecEncodeSelf ¶
func (x *RemoveScopeStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveScopeStatement) IsCodecEmpty ¶
func (x *RemoveScopeStatement) IsCodecEmpty() bool
func (RemoveScopeStatement) String ¶
func (this RemoveScopeStatement) String() string
func (*RemoveScopeStatement) Writeable ¶
func (s *RemoveScopeStatement) Writeable() bool
type RemoveTableStatement ¶
type RemoveTableStatement struct {
What Tables
}
RemoveTableStatement represents an SQL REMOVE TABLE statement.
func (*RemoveTableStatement) CodecDecodeSelf ¶
func (x *RemoveTableStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveTableStatement) CodecEncodeSelf ¶
func (x *RemoveTableStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveTableStatement) IsCodecEmpty ¶
func (x *RemoveTableStatement) IsCodecEmpty() bool
func (RemoveTableStatement) String ¶
func (this RemoveTableStatement) String() string
func (*RemoveTableStatement) Writeable ¶
func (s *RemoveTableStatement) Writeable() bool
type RemoveTokenStatement ¶
RemoveTokenStatement represents an SQL REMOVE TOKEN statement.
func (*RemoveTokenStatement) CodecDecodeSelf ¶
func (x *RemoveTokenStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RemoveTokenStatement) CodecEncodeSelf ¶
func (x *RemoveTokenStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RemoveTokenStatement) IsCodecEmpty ¶
func (x *RemoveTokenStatement) IsCodecEmpty() bool
func (RemoveTokenStatement) String ¶
func (this RemoveTokenStatement) String() string
func (*RemoveTokenStatement) Writeable ¶
func (s *RemoveTokenStatement) Writeable() bool
type ReturnStatement ¶
ReturnStatement represents a SQL RETURN statement.
func (*ReturnStatement) CodecDecodeSelf ¶
func (x *ReturnStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*ReturnStatement) CodecEncodeSelf ¶
func (x *ReturnStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*ReturnStatement) IsCodecEmpty ¶
func (x *ReturnStatement) IsCodecEmpty() bool
func (ReturnStatement) String ¶
func (this ReturnStatement) String() string
func (*ReturnStatement) Writeable ¶
func (s *ReturnStatement) Writeable() bool
type RunStatement ¶
RunStatement represents a run clause.
func (*RunStatement) CodecDecodeSelf ¶
func (x *RunStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*RunStatement) CodecEncodeSelf ¶
func (x *RunStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*RunStatement) Decode ¶
func (this *RunStatement) Decode(src []byte)
func (*RunStatement) Encode ¶
func (this *RunStatement) Encode() (dst []byte)
func (*RunStatement) ExtendCORK ¶
func (this *RunStatement) ExtendCORK() byte
func (*RunStatement) IsCodecEmpty ¶
func (x *RunStatement) IsCodecEmpty() bool
func (*RunStatement) MarshalCORK ¶
func (this *RunStatement) MarshalCORK(w *cork.Writer) (err error)
func (RunStatement) String ¶
func (this RunStatement) String() string
func (*RunStatement) UnmarshalCORK ¶
func (this *RunStatement) UnmarshalCORK(r *cork.Reader) (err error)
type SelectStatement ¶
type SelectStatement struct { RW bool Expr Fields What Exprs Cond Expr Split Idents Group Groups Order Orders Limit Expr Start Expr Fetch Fetchs Version Expr Timeout time.Duration }
SelectStatement represents a SQL SELECT statement.
func (*SelectStatement) CodecDecodeSelf ¶
func (x *SelectStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*SelectStatement) CodecEncodeSelf ¶
func (x *SelectStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*SelectStatement) Decode ¶
func (this *SelectStatement) Decode(src []byte)
func (*SelectStatement) Duration ¶
func (s *SelectStatement) Duration() time.Duration
func (*SelectStatement) Encode ¶
func (this *SelectStatement) Encode() (dst []byte)
func (*SelectStatement) ExtendCORK ¶
func (this *SelectStatement) ExtendCORK() byte
func (*SelectStatement) IsCodecEmpty ¶
func (x *SelectStatement) IsCodecEmpty() bool
func (*SelectStatement) MarshalCORK ¶
func (this *SelectStatement) MarshalCORK(w *cork.Writer) (err error)
func (SelectStatement) String ¶
func (this SelectStatement) String() string
func (*SelectStatement) UnmarshalCORK ¶
func (this *SelectStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*SelectStatement) Writeable ¶
func (s *SelectStatement) Writeable() bool
type Statements ¶
type Statements []Statement
Statements represents multiple SQL ASTs
func (*Statements) CodecDecodeSelf ¶
func (x *Statements) CodecDecodeSelf(d *codec1978.Decoder)
func (Statements) CodecEncodeSelf ¶
func (x Statements) CodecEncodeSelf(e *codec1978.Encoder)
type SubExpression ¶
type SubExpression struct {
Expr Expr
}
SubExpression represents a subquery.
func (*SubExpression) CodecDecodeSelf ¶
func (x *SubExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*SubExpression) CodecEncodeSelf ¶
func (x *SubExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*SubExpression) ExtendCORK ¶
func (this *SubExpression) ExtendCORK() byte
func (*SubExpression) IsCodecEmpty ¶
func (x *SubExpression) IsCodecEmpty() bool
func (*SubExpression) MarshalCORK ¶
func (this *SubExpression) MarshalCORK(w *cork.Writer) (err error)
func (SubExpression) String ¶
func (this SubExpression) String() string
func (*SubExpression) UnmarshalCORK ¶
func (this *SubExpression) UnmarshalCORK(r *cork.Reader) (err error)
type SubpExpression ¶
SubpExpression represents a sub path expression.
func (*SubpExpression) CodecDecodeSelf ¶
func (x *SubpExpression) CodecDecodeSelf(d *codec1978.Decoder)
func (*SubpExpression) CodecEncodeSelf ¶
func (x *SubpExpression) CodecEncodeSelf(e *codec1978.Encoder)
func (*SubpExpression) ExtendCORK ¶
func (this *SubpExpression) ExtendCORK() byte
func (*SubpExpression) IsCodecEmpty ¶
func (x *SubpExpression) IsCodecEmpty() bool
func (*SubpExpression) MarshalCORK ¶
func (this *SubpExpression) MarshalCORK(w *cork.Writer) (err error)
func (SubpExpression) String ¶
func (this SubpExpression) String() string
func (*SubpExpression) UnmarshalCORK ¶
func (this *SubpExpression) UnmarshalCORK(r *cork.Reader) (err error)
type Table ¶
type Table struct {
TB string
}
Table comment
func (*Table) CodecDecodeSelf ¶
func (*Table) CodecEncodeSelf ¶
func (*Table) ExtendCORK ¶
func (*Table) IsCodecEmpty ¶
type Tables ¶
type Tables []*Table
Tables represents multiple Table clauses.
func (*Tables) CodecDecodeSelf ¶
func (Tables) CodecEncodeSelf ¶
type Thing ¶
type Thing struct { TB string ID interface{} }
Thing comment
func ParseThing ¶
func (*Thing) CodecDecodeSelf ¶
func (*Thing) CodecEncodeSelf ¶
func (*Thing) ExtendCORK ¶
func (*Thing) IsCodecEmpty ¶
func (Thing) MarshalText ¶
type Things ¶
type Things []*Thing
Things represents multiple Thing clauses.
func (*Things) CodecDecodeSelf ¶
func (Things) CodecEncodeSelf ¶
type Token ¶
type Token int16
Token defines a lexical token
const ( ILLEGAL Token = iota EOF WS DATE // 1970-01-01 TIME // 1970-01-01T00:00:00+00:00 JSON // {"test":true} EXPR // something[0].value IDENT // something THING // @class:id MODEL // [person|1..1000] STRING // "something" REGION // "a multiline \n string" NUMBER // 123456 DOUBLE // 123.456 REGEX // /.*/ ARRAY // [0,1,2] DURATION // 13h PARAM // $1 OEDGE // -> IEDGE // <- BEDGE // <-> DOT // . COMMA // , QMARK // ? LPAREN // ( RPAREN // ) LBRACK // [ RBRACK // ] COLON // : SEMICOLON // ; ADD // + SUB // - MUL // * DIV // / INC // += DEC // -= EQ // = EEQ // == EXC // ! NEQ // != NEE // !== ANY // ?= LT // < LTE // <= GT // > GTE // >= SIN // ∋ SNI // ∌ INS // ∈ NIS // ∉ MAT // ~ NAT // !~ MAY // ?~ AFTER ALL ALLCONTAINEDIN AND AS ASC ASSERT AT BEFORE BEGIN BOTH BY CANCEL COLLATE COLUMNS COMMIT CONNECT CONTAINS CONTAINSALL CONTAINSNONE CONTAINSSOME CONTENT CREATE DATABASE DB DEFINE DELETE DESC DIFF DROP ELSE EMPTY END EVENT FALSE FETCH FIELD FOR FROM FULL GROUP IF IN INDEX INFO INSERT INTO IS KILL LET LIMIT LIVE LOGIN MERGE MISSING NAMESPACE NONE NONECONTAINEDIN NOT NS NULL NUMERIC ON OPTION OR ORDER PARALLEL PASSHASH PASSWORD PERMISSIONS PRIORITY RAND RELATE REMOVE RETURN RUN SCHEMAFULL SCHEMALESS SCOPE SELECT SESSION SET SIGNIN SIGNUP SOMECONTAINEDIN SPLIT START TABLE THEN TIMEOUT TO TOKEN TRANSACTION TRUE TYPE UNIQUE UNVERSIONED UPDATE UPSERT USE VALUE VERSION VERSIONED VOID WHEN WHERE WITH )
func (Token) MarshalBinary ¶
func (Token) MarshalText ¶
func (*Token) UnmarshalBinary ¶
type UpdateStatement ¶
UpdateStatement represents a SQL UPDATE statement.
func (*UpdateStatement) CodecDecodeSelf ¶
func (x *UpdateStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*UpdateStatement) CodecEncodeSelf ¶
func (x *UpdateStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*UpdateStatement) Decode ¶
func (this *UpdateStatement) Decode(src []byte)
func (*UpdateStatement) Duration ¶
func (s *UpdateStatement) Duration() time.Duration
func (*UpdateStatement) Encode ¶
func (this *UpdateStatement) Encode() (dst []byte)
func (*UpdateStatement) ExtendCORK ¶
func (this *UpdateStatement) ExtendCORK() byte
func (*UpdateStatement) IsCodecEmpty ¶
func (x *UpdateStatement) IsCodecEmpty() bool
func (*UpdateStatement) MarshalCORK ¶
func (this *UpdateStatement) MarshalCORK(w *cork.Writer) (err error)
func (UpdateStatement) String ¶
func (this UpdateStatement) String() string
func (*UpdateStatement) UnmarshalCORK ¶
func (this *UpdateStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*UpdateStatement) Writeable ¶
func (s *UpdateStatement) Writeable() bool
type UpsertStatement ¶
UpsertStatement represents a SQL UPSERT statement.
func (*UpsertStatement) CodecDecodeSelf ¶
func (x *UpsertStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*UpsertStatement) CodecEncodeSelf ¶
func (x *UpsertStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*UpsertStatement) Decode ¶
func (this *UpsertStatement) Decode(src []byte)
func (*UpsertStatement) Duration ¶
func (s *UpsertStatement) Duration() time.Duration
func (*UpsertStatement) Encode ¶
func (this *UpsertStatement) Encode() (dst []byte)
func (*UpsertStatement) ExtendCORK ¶
func (this *UpsertStatement) ExtendCORK() byte
func (*UpsertStatement) IsCodecEmpty ¶
func (x *UpsertStatement) IsCodecEmpty() bool
func (*UpsertStatement) MarshalCORK ¶
func (this *UpsertStatement) MarshalCORK(w *cork.Writer) (err error)
func (UpsertStatement) String ¶
func (this UpsertStatement) String() string
func (*UpsertStatement) UnmarshalCORK ¶
func (this *UpsertStatement) UnmarshalCORK(r *cork.Reader) (err error)
func (*UpsertStatement) Writeable ¶
func (s *UpsertStatement) Writeable() bool
type UseStatement ¶
UseStatement represents a SQL USE statement.
func (*UseStatement) CodecDecodeSelf ¶
func (x *UseStatement) CodecDecodeSelf(d *codec1978.Decoder)
func (*UseStatement) CodecEncodeSelf ¶
func (x *UseStatement) CodecEncodeSelf(e *codec1978.Encoder)
func (*UseStatement) IsCodecEmpty ¶
func (x *UseStatement) IsCodecEmpty() bool
func (UseStatement) String ¶
func (this UseStatement) String() string
type Value ¶
type Value struct {
VA string
}
Value comment
func (*Value) CodecDecodeSelf ¶
func (*Value) CodecEncodeSelf ¶
func (*Value) ExtendCORK ¶
func (*Value) IsCodecEmpty ¶
type Values ¶
type Values []*Value
Values represents multiple Value clauses.
func (*Values) CodecDecodeSelf ¶
func (Values) CodecEncodeSelf ¶
type Void ¶
type Void struct{}
Void represents an expression which is not set.
func (*Void) CodecDecodeSelf ¶
func (*Void) CodecEncodeSelf ¶
func (*Void) ExtendCORK ¶
func (*Void) IsCodecEmpty ¶
type WriteableStatement ¶
type WriteableStatement interface {
Writeable() bool
}
Source Files ¶
- ast.gen.go
- ast.go
- check.go
- cork.go
- create.go
- data.go
- database.go
- define.go
- delete.go
- echo.go
- error.go
- event.go
- exprs.go
- field.go
- funcs.go
- gen.go
- ifelse.go
- index.go
- info.go
- insert.go
- kill.gen.go
- let.go
- live.go
- login.go
- namespace.go
- option.go
- parser.go
- perms.go
- rdwr.gen.go
- relate.go
- remove.go
- return.go
- run.go
- scanner.go
- scope.go
- select.go
- sql.go
- string.go
- table.go
- token.go
- tokens.go
- trans.go
- update.go
- upsert.go
- use.go
- util.go