Versions in this module Expand all Collapse all v2 v2.4.0 Jul 11, 2025 v2.3.2 Apr 14, 2025 v2.3.1 Apr 3, 2025 v2.3.0 Mar 11, 2025 v2.2.1 Dec 27, 2024 v2.2.0 Dec 16, 2024 v2.1.0 Mar 6, 2024 v2.0.0 Feb 12, 2024 Changes in this version + type BaseOpts struct + Timeout OptFloat64 + VshardRouter OptString + func (opts BaseOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type BoolResult struct + Value bool + func (r *BoolResult) DecodeMsgpack(d *msgpack.Decoder) error + type BorderOpts struct + FetchLatestMetadata OptBool + Fields OptTuple + Timeout OptFloat64 + VshardRouter OptString + func (opts BorderOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type Condition struct + Field string + Operator Operator + Value interface{} + type CountOpts struct + Balance OptBool + BucketId OptUint + ForceMapCall OptBool + Fullscan OptBool + Mode OptString + PreferReplica OptBool + Timeout OptFloat64 + VshardRouter OptString + YieldEvery OptUint + func (opts CountOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type CountRequest struct + func MakeCountRequest(space string) CountRequest + func (req CountRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req CountRequest) Conditions(conditions []Condition) CountRequest + func (req CountRequest) Context(ctx context.Context) CountRequest + func (req CountRequest) Opts(opts CountOpts) CountRequest + type CountResult = NumberResult + type DeleteOpts = SimpleOperationOpts + type DeleteRequest struct + func MakeDeleteRequest(space string) DeleteRequest + func (req DeleteRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req DeleteRequest) Context(ctx context.Context) DeleteRequest + func (req DeleteRequest) Key(key Tuple) DeleteRequest + func (req DeleteRequest) Opts(opts DeleteOpts) DeleteRequest + type Error struct + ClassName string + Err string + File string + Line uint64 + OperationData interface{} + Stack string + Str string + func (e *Error) DecodeMsgpack(d *msgpack.Decoder) error + func (e Error) Error() string + type ErrorMany struct + Errors []Error + func (e *ErrorMany) DecodeMsgpack(d *msgpack.Decoder) error + func (e ErrorMany) Error() string + type FieldFormat struct + IsNullable bool + Name string + Type string + func (format *FieldFormat) DecodeMsgpack(d *msgpack.Decoder) error + type GetOpts struct + Balance OptBool + BucketId OptUint + FetchLatestMetadata OptBool + Fields OptTuple + Mode OptString + PreferReplica OptBool + Timeout OptFloat64 + VshardRouter OptString + func (opts GetOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type GetRequest struct + func MakeGetRequest(space string) GetRequest + func (req GetRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req GetRequest) Context(ctx context.Context) GetRequest + func (req GetRequest) Key(key Tuple) GetRequest + func (req GetRequest) Opts(opts GetOpts) GetRequest + type Index struct + Id uint32 + Name string + Parts []IndexPart + Type string + Unique bool + type IndexPart struct + ExcludeNull bool + Fieldno uint32 + IsNullable bool + Type string + type InsertManyOpts = OperationManyOpts + type InsertManyRequest struct + func MakeInsertManyRequest(space string) InsertManyRequest + func (req InsertManyRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req InsertManyRequest) Context(ctx context.Context) InsertManyRequest + func (req InsertManyRequest) Opts(opts InsertManyOpts) InsertManyRequest + func (req InsertManyRequest) Tuples(tuples Tuples) InsertManyRequest + type InsertObjectManyOpts = OperationObjectManyOpts + type InsertObjectManyRequest struct + func MakeInsertObjectManyRequest(space string) InsertObjectManyRequest + func (req InsertObjectManyRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req InsertObjectManyRequest) Context(ctx context.Context) InsertObjectManyRequest + func (req InsertObjectManyRequest) Objects(objects Objects) InsertObjectManyRequest + func (req InsertObjectManyRequest) Opts(opts InsertObjectManyOpts) InsertObjectManyRequest + type InsertObjectOpts = SimpleOperationObjectOpts + type InsertObjectRequest struct + func MakeInsertObjectRequest(space string) InsertObjectRequest + func (req InsertObjectRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req InsertObjectRequest) Context(ctx context.Context) InsertObjectRequest + func (req InsertObjectRequest) Object(object Object) InsertObjectRequest + func (req InsertObjectRequest) Opts(opts InsertObjectOpts) InsertObjectRequest + type InsertOpts = SimpleOperationOpts + type InsertRequest struct + func MakeInsertRequest(space string) InsertRequest + func (req InsertRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req InsertRequest) Context(ctx context.Context) InsertRequest + func (req InsertRequest) Opts(opts InsertOpts) InsertRequest + func (req InsertRequest) Tuple(tuple Tuple) InsertRequest + type LenOpts = BaseOpts + type LenRequest struct + func MakeLenRequest(space string) LenRequest + func (req LenRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req LenRequest) Context(ctx context.Context) LenRequest + func (req LenRequest) Opts(opts LenOpts) LenRequest + type LenResult = NumberResult + type MapObject map[string]interface + func (o MapObject) EncodeMsgpack(enc *msgpack.Encoder) + func UnflattenRows(tuples []interface{}, format []interface{}) ([]MapObject, error) + type MaxOpts = BorderOpts + type MaxRequest struct + func MakeMaxRequest(space string) MaxRequest + func (req MaxRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req MaxRequest) Context(ctx context.Context) MaxRequest + func (req MaxRequest) Index(index interface{}) MaxRequest + func (req MaxRequest) Opts(opts MaxOpts) MaxRequest + type MinOpts = BorderOpts + type MinRequest struct + func MakeMinRequest(space string) MinRequest + func (req MinRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req MinRequest) Context(ctx context.Context) MinRequest + func (req MinRequest) Index(index interface{}) MinRequest + func (req MinRequest) Opts(opts MinOpts) MinRequest + type NumberResult struct + Value uint64 + func (r *NumberResult) DecodeMsgpack(d *msgpack.Decoder) error + type Object = interface + type ObjectOperationsData struct + Object Object + Operations []Operation + type Objects = interface + type Operation struct + Field interface{} + Len int + Operator Operator + Pos int + Replace string + Value interface{} + func (o Operation) EncodeMsgpack(enc *msgpack.Encoder) error + type OperationManyOpts struct + FetchLatestMetadata OptBool + Fields OptTuple + Noreturn OptBool + RollbackOnError OptBool + StopOnError OptBool + Timeout OptFloat64 + VshardRouter OptString + func (opts OperationManyOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type OperationObjectManyOpts struct + FetchLatestMetadata OptBool + Fields OptTuple + Noreturn OptBool + RollbackOnError OptBool + SkipNullabilityCheckOnFlatten OptBool + StopOnError OptBool + Timeout OptFloat64 + VshardRouter OptString + func (opts OperationObjectManyOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type Operator string + const Add + const And + const Assign + const Delete + const Eq + const Ge + const Gt + const Insert + const Le + const Lt + const Or + const Splice + const Sub + const Xor + type OptBool struct + func MakeOptBool(value bool) OptBool + func (opt OptBool) Get() (bool, bool) + type OptFloat64 struct + func MakeOptFloat64(value float64) OptFloat64 + func (opt OptFloat64) Get() (float64, bool) + type OptInt struct + func MakeOptInt(value int) OptInt + func (opt OptInt) Get() (int, bool) + type OptString struct + func MakeOptString(value string) OptString + func (opt OptString) Get() (string, bool) + type OptTuple struct + func MakeOptTuple(tuple interface{}) OptTuple + func (o *OptTuple) Get() (interface{}, bool) + type OptUint struct + func MakeOptUint(value uint) OptUint + func (opt OptUint) Get() (uint, bool) + type ReplaceManyOpts = OperationManyOpts + type ReplaceManyRequest struct + func MakeReplaceManyRequest(space string) ReplaceManyRequest + func (req ReplaceManyRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req ReplaceManyRequest) Context(ctx context.Context) ReplaceManyRequest + func (req ReplaceManyRequest) Opts(opts ReplaceManyOpts) ReplaceManyRequest + func (req ReplaceManyRequest) Tuples(tuples Tuples) ReplaceManyRequest + type ReplaceObjectManyOpts = OperationObjectManyOpts + type ReplaceObjectManyRequest struct + func MakeReplaceObjectManyRequest(space string) ReplaceObjectManyRequest + func (req ReplaceObjectManyRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req ReplaceObjectManyRequest) Context(ctx context.Context) ReplaceObjectManyRequest + func (req ReplaceObjectManyRequest) Objects(objects Objects) ReplaceObjectManyRequest + func (req ReplaceObjectManyRequest) Opts(opts ReplaceObjectManyOpts) ReplaceObjectManyRequest + type ReplaceObjectOpts = SimpleOperationObjectOpts + type ReplaceObjectRequest struct + func MakeReplaceObjectRequest(space string) ReplaceObjectRequest + func (req ReplaceObjectRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req ReplaceObjectRequest) Context(ctx context.Context) ReplaceObjectRequest + func (req ReplaceObjectRequest) Object(object Object) ReplaceObjectRequest + func (req ReplaceObjectRequest) Opts(opts ReplaceObjectOpts) ReplaceObjectRequest + type ReplaceOpts = SimpleOperationOpts + type ReplaceRequest struct + func MakeReplaceRequest(space string) ReplaceRequest + func (req ReplaceRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req ReplaceRequest) Context(ctx context.Context) ReplaceRequest + func (req ReplaceRequest) Opts(opts ReplaceOpts) ReplaceRequest + func (req ReplaceRequest) Tuple(tuple Tuple) ReplaceRequest + type Result struct + Metadata []FieldFormat + Rows interface{} + func MakeResult(rowType reflect.Type) Result + func (r *Result) DecodeMsgpack(d *msgpack.Decoder) error + type Schema map[string]SpaceSchema + func (schema *Schema) DecodeMsgpack(d *msgpack.Decoder) error + type SchemaOpts struct + Cached OptBool + Timeout OptFloat64 + VshardRouter OptString + func (opts SchemaOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type SchemaRequest struct + func MakeSchemaRequest() SchemaRequest + func (req SchemaRequest) Async() bool + func (req SchemaRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req SchemaRequest) Context(ctx context.Context) SchemaRequest + func (req SchemaRequest) Ctx() context.Context + func (req SchemaRequest) Opts(opts SchemaOpts) SchemaRequest + func (req SchemaRequest) Response(header tarantool.Header, body io.Reader) (tarantool.Response, error) + func (req SchemaRequest) Space(space string) SchemaRequest + func (req SchemaRequest) Type() iproto.Type + type SchemaResult struct + Value Schema + func (result *SchemaResult) DecodeMsgpack(d *msgpack.Decoder) error + type SelectOpts struct + After OptTuple + Balance OptBool + BatchSize OptUint + BucketId OptUint + FetchLatestMetadata OptBool + Fields OptTuple + First OptInt + ForceMapCall OptBool + Fullscan OptBool + Mode OptString + PreferReplica OptBool + Timeout OptFloat64 + VshardRouter OptString + YieldEvery OptUint + func (opts SelectOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type SelectRequest struct + func MakeSelectRequest(space string) SelectRequest + func (req SelectRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req SelectRequest) Conditions(conditions []Condition) SelectRequest + func (req SelectRequest) Context(ctx context.Context) SelectRequest + func (req SelectRequest) Opts(opts SelectOpts) SelectRequest + type SimpleOperationObjectOpts struct + BucketId OptUint + FetchLatestMetadata OptBool + Fields OptTuple + Noreturn OptBool + SkipNullabilityCheckOnFlatten OptBool + Timeout OptFloat64 + VshardRouter OptString + func (opts SimpleOperationObjectOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type SimpleOperationOpts struct + BucketId OptUint + FetchLatestMetadata OptBool + Fields OptTuple + Noreturn OptBool + Timeout OptFloat64 + VshardRouter OptString + func (opts SimpleOperationOpts) EncodeMsgpack(enc *msgpack.Encoder) error + type SpaceSchema struct + Format []FieldFormat + Indexes map[uint32]Index + type SpaceSchemaResult struct + Value SpaceSchema + func (result *SpaceSchemaResult) DecodeMsgpack(d *msgpack.Decoder) error + type StatsRequest struct + func MakeStatsRequest() StatsRequest + func (req StatsRequest) Async() bool + func (req StatsRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req StatsRequest) Context(ctx context.Context) StatsRequest + func (req StatsRequest) Ctx() context.Context + func (req StatsRequest) Response(header tarantool.Header, body io.Reader) (tarantool.Response, error) + func (req StatsRequest) Space(space string) StatsRequest + func (req StatsRequest) Type() iproto.Type + type StatusTable struct + IsMaster bool + Message string + Status string + func (statusTable *StatusTable) DecodeMsgpack(d *msgpack.Decoder) error + type StorageInfoOpts = BaseOpts + type StorageInfoRequest struct + func MakeStorageInfoRequest() StorageInfoRequest + func (req StorageInfoRequest) Async() bool + func (req StorageInfoRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req StorageInfoRequest) Context(ctx context.Context) StorageInfoRequest + func (req StorageInfoRequest) Ctx() context.Context + func (req StorageInfoRequest) Opts(opts StorageInfoOpts) StorageInfoRequest + func (req StorageInfoRequest) Response(header tarantool.Header, body io.Reader) (tarantool.Response, error) + func (req StorageInfoRequest) Type() iproto.Type + type StorageInfoResult struct + Info map[string]StatusTable + func (r *StorageInfoResult) DecodeMsgpack(d *msgpack.Decoder) error + type TruncateOpts = BaseOpts + type TruncateRequest struct + func MakeTruncateRequest(space string) TruncateRequest + func (req TruncateRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req TruncateRequest) Context(ctx context.Context) TruncateRequest + func (req TruncateRequest) Opts(opts TruncateOpts) TruncateRequest + type TruncateResult = BoolResult + type Tuple = interface + type TupleOperationsData struct + Operations []Operation + Tuple Tuple + type Tuples = interface + type UpdateOpts = SimpleOperationOpts + type UpdateRequest struct + func MakeUpdateRequest(space string) UpdateRequest + func (req UpdateRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req UpdateRequest) Context(ctx context.Context) UpdateRequest + func (req UpdateRequest) Key(key Tuple) UpdateRequest + func (req UpdateRequest) Operations(operations []Operation) UpdateRequest + func (req UpdateRequest) Opts(opts UpdateOpts) UpdateRequest + type UpsertManyOpts = OperationManyOpts + type UpsertManyRequest struct + func MakeUpsertManyRequest(space string) UpsertManyRequest + func (req UpsertManyRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req UpsertManyRequest) Context(ctx context.Context) UpsertManyRequest + func (req UpsertManyRequest) Opts(opts UpsertManyOpts) UpsertManyRequest + func (req UpsertManyRequest) TuplesOperationsData(tuplesOperationData []TupleOperationsData) UpsertManyRequest + type UpsertObjectManyOpts = OperationManyOpts + type UpsertObjectManyRequest struct + func MakeUpsertObjectManyRequest(space string) UpsertObjectManyRequest + func (req UpsertObjectManyRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req UpsertObjectManyRequest) Context(ctx context.Context) UpsertObjectManyRequest + func (req UpsertObjectManyRequest) ObjectsOperationsData(objectsOperationData []ObjectOperationsData) UpsertObjectManyRequest + func (req UpsertObjectManyRequest) Opts(opts UpsertObjectManyOpts) UpsertObjectManyRequest + type UpsertObjectOpts = SimpleOperationOpts + type UpsertObjectRequest struct + func MakeUpsertObjectRequest(space string) UpsertObjectRequest + func (req UpsertObjectRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req UpsertObjectRequest) Context(ctx context.Context) UpsertObjectRequest + func (req UpsertObjectRequest) Object(object Object) UpsertObjectRequest + func (req UpsertObjectRequest) Operations(operations []Operation) UpsertObjectRequest + func (req UpsertObjectRequest) Opts(opts UpsertObjectOpts) UpsertObjectRequest + type UpsertOpts = SimpleOperationOpts + type UpsertRequest struct + func MakeUpsertRequest(space string) UpsertRequest + func (req UpsertRequest) Body(res tarantool.SchemaResolver, enc *msgpack.Encoder) error + func (req UpsertRequest) Context(ctx context.Context) UpsertRequest + func (req UpsertRequest) Operations(operations []Operation) UpsertRequest + func (req UpsertRequest) Opts(opts UpsertOpts) UpsertRequest + func (req UpsertRequest) Tuple(tuple Tuple) UpsertRequest Other modules containing this package github.com/tarantool/go-tarantool