Documentation ¶
Index ¶
- func Declare(p *Parameter) string
- type Builder
- type NamedValue
- type Parameter
- func (p *Parameter) BeginDict() *dict
- func (p *Parameter) BeginList() *list
- func (p *Parameter) BeginOptional() *optional
- func (p *Parameter) BeginSet() *set
- func (p *Parameter) BeginStruct() *structure
- func (p *Parameter) BeginTuple() *tuple
- func (p *Parameter) BeginVariant() *variant
- func (p *Parameter) Bool(v bool) Builder
- func (p *Parameter) Bytes(v []byte) Builder
- func (p *Parameter) Date(v time.Time) Builder
- func (p *Parameter) Datetime(v time.Time) Builder
- func (p *Parameter) Decimal(v [16]byte, precision, scale uint32) Builder
- func (p *Parameter) Double(v float64) Builder
- func (p *Parameter) Float(v float32) Builder
- func (p *Parameter) Int16(v int16) Builder
- func (p *Parameter) Int32(v int32) Builder
- func (p *Parameter) Int64(v int64) Builder
- func (p *Parameter) Int8(v int8) Builder
- func (p *Parameter) Interval(v time.Duration) Builder
- func (p *Parameter) JSON(v string) Builder
- func (p *Parameter) JSONDocument(v string) Builder
- func (p *Parameter) Name() string
- func (p *Parameter) Pg() pgParam
- func (p *Parameter) Text(v string) Builder
- func (p *Parameter) Timestamp(v time.Time) Builder
- func (p *Parameter) TzDate(v time.Time) Builder
- func (p *Parameter) TzDatetime(v time.Time) Builder
- func (p *Parameter) TzTimestamp(v time.Time) Builder
- func (p *Parameter) UUID(v [16]byte) Builder
- func (p *Parameter) Uint16(v uint16) Builder
- func (p *Parameter) Uint32(v uint32) Builder
- func (p *Parameter) Uint64(v uint64) Builder
- func (p *Parameter) Uint8(v uint8) Builder
- func (p *Parameter) Value() value.Value
- func (p *Parameter) YSON(v []byte) Builder
- type Parameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (Builder) Build ¶
func (b Builder) Build() *Parameters
type NamedValue ¶
type Parameter ¶
type Parameter struct {
// contains filtered or unexported fields
}
func (*Parameter) BeginOptional ¶ added in v3.58.0
func (p *Parameter) BeginOptional() *optional
func (*Parameter) BeginStruct ¶ added in v3.59.0
func (p *Parameter) BeginStruct() *structure
func (*Parameter) BeginTuple ¶ added in v3.59.0
func (p *Parameter) BeginTuple() *tuple
func (*Parameter) BeginVariant ¶ added in v3.61.0
func (p *Parameter) BeginVariant() *variant
func (*Parameter) JSONDocument ¶
func (*Parameter) TzTimestamp ¶ added in v3.59.0
type Parameters ¶
type Parameters []*Parameter
func (*Parameters) Add ¶
func (p *Parameters) Add(params ...NamedValue)
func (*Parameters) Count ¶
func (p *Parameters) Count() int
func (*Parameters) String ¶
func (p *Parameters) String() string
func (*Parameters) ToYDB ¶
func (p *Parameters) ToYDB(a *allocator.Allocator) map[string]*Ydb.TypedValue
Click to show internal directories.
Click to hide internal directories.