Documentation
¶
Index ¶
- Variables
- type Zzz
- func (z *Zzz) FindArrOffsetLimit(offset, limit uint32, idx string) ([]A.X, Tt.QueryMeta)
- func (z *Zzz) FindById() bool
- func (z *Zzz) FindByName() bool
- func (z *Zzz) FindOffsetLimit(offset, limit uint32, idx string) []Zzz
- func (z *Zzz) FromArray(a A.X) *Zzz
- func (z *Zzz) FromUncensoredArray(a A.X) *Zzz
- func (z *Zzz) IdxCoords() int
- func (z *Zzz) IdxCreatedAt() int
- func (z *Zzz) IdxHeightMeter() int
- func (z *Zzz) IdxId() int
- func (z *Zzz) IdxName() int
- func (z *Zzz) SpaceName() string
- func (z *Zzz) SpatialIndexCoords() string
- func (z *Zzz) SqlCoords() string
- func (z *Zzz) SqlCreatedAt() string
- func (z *Zzz) SqlHeightMeter() string
- func (z *Zzz) SqlId() string
- func (z *Zzz) SqlName() string
- func (z *Zzz) SqlSelectAllFields() string
- func (z *Zzz) SqlSelectAllUncensoredFields() string
- func (z *Zzz) SqlTableName() string
- func (z *Zzz) ToArray() A.X
- func (z *Zzz) ToUpdateArray() *tarantool.Operations
- func (z *Zzz) Total() int64
- func (z *Zzz) UniqueIndexId() string
- func (z *Zzz) UniqueIndexName() string
Constants ¶
This section is empty.
Variables ¶
var ZzzFieldTypeMap = map[string]Tt.DataType{ `id`: Tt.Unsigned, `createdAt`: Tt.Integer, `coords`: Tt.Array, `name`: Tt.String, `heightMeter`: Tt.Double, }
ZzzFieldTypeMap returns key value of field name and key
Functions ¶
This section is empty.
Types ¶
type Zzz ¶
type Zzz struct { Adapter *Tt.Adapter `json:"-" msg:"-" query:"-" form:"-"` Id uint64 CreatedAt int64 Coords []any Name string HeightMeter float64 }
Zzz DAO reader/query struct
func (*Zzz) FindArrOffsetLimit ¶
FindArrOffsetLimit returns as slice of slice order by idx eg. .UniqueIndex*()
func (*Zzz) FindByName ¶ added in v1.4131.654
FindByName Find one by Name
func (*Zzz) FindOffsetLimit ¶
FindOffsetLimit returns slice of struct, order by idx, eg. .UniqueIndex*()
func (*Zzz) FromUncensoredArray ¶
FromUncensoredArray convert slice to receiver fields
func (*Zzz) IdxHeightMeter ¶
IdxHeightMeter return name of the index
func (*Zzz) SpatialIndexCoords ¶
SpatialIndexCoords return spatial index name
func (*Zzz) SqlCreatedAt ¶
SqlCreatedAt return name of the column being indexed
func (*Zzz) SqlHeightMeter ¶
SqlHeightMeter return name of the column being indexed
func (*Zzz) SqlSelectAllFields ¶
SqlSelectAllFields generate Sql select fields
func (*Zzz) SqlSelectAllUncensoredFields ¶
SqlSelectAllUncensoredFields generate Sql select fields
func (*Zzz) SqlTableName ¶
SqlTableName returns quoted table name
func (*Zzz) ToUpdateArray ¶
func (z *Zzz) ToUpdateArray() *tarantool.Operations
ToUpdateArray generate slice of update command
func (*Zzz) UniqueIndexId ¶
func (*Zzz) UniqueIndexName ¶ added in v1.4131.654
UniqueIndexName return unique index name