package tests
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/cmd/ydbgen/tests"
Index ¶
- type Bar
- type Container
- func (c *Container) QueryParameters() *table.QueryParameters
- func (c *Container) Scan(res resultset.Result) (err error)
- func (c *Container) StructType() types.Type
- func (c *Container) StructValue() types.Value
- type ConvAssert
- type Foo
- func (f *Foo) QueryParameters() *table.QueryParameters
- func (f *Foo) Scan(res resultset.Result) (err error)
- func (f *Foo) StructType() types.Type
- func (f *Foo) StructValue() types.Value
- type Foos
- type Optional
- func (o *Optional) QueryParameters() *table.QueryParameters
- func (o *Optional) Scan(res resultset.Result) (err error)
- func (o *Optional) StructType() types.Type
- func (o *Optional) StructValue() types.Value
- type Params
- type Times
Types ¶
type Bar ¶
type Bar [][][]string
func (*Bar) Scan ¶
type Container ¶
type Container struct { Struct Foo Structs []Foo Bytes []byte `ydb:"types:list<uint32>,conv:cmp"` Strings []string `ydb:"types:list<string>"` String []byte }
func (*Container) QueryParameters ¶
func (c *Container) QueryParameters() *table.QueryParameters
func (*Container) Scan ¶
func (*Container) StructType ¶
func (*Container) StructValue ¶
type ConvAssert ¶
type ConvAssert struct { Int32ToByte byte `ydb:"types:int32,conv:cmp"` Int16Int8 int8 `ydb:"types:int16,conv:cmp"` Uint64Int8 int8 `ydb:"types:uint64,conv:cmp"` Int8Int16 int16 `ydb:"types:int8,conv:cmp"` Uint32Uint uint `ydb:"types:uint32,conv:cmp"` Int32Int int `ydb:"types:int32,conv:cmp"` Int32Int64 int64 `ydb:"types:int32,conv:cmp"` }
func (*ConvAssert) Scan ¶
func (c *ConvAssert) Scan(res resultset.Result) (err error)
type Foo ¶
func (*Foo) QueryParameters ¶
func (f *Foo) QueryParameters() *table.QueryParameters
func (*Foo) Scan ¶
func (*Foo) StructType ¶
func (*Foo) StructValue ¶
type Foos ¶
type Foos []Foo
func (*Foos) Scan ¶
type Optional ¶
type Optional struct { Int64 int64 `ydb:"types:int16?,conv:cmp"` Str string `ydb:"types:string"` Int32 int32 }
func (*Optional) QueryParameters ¶
func (o *Optional) QueryParameters() *table.QueryParameters
func (*Optional) Scan ¶
func (*Optional) StructType ¶
func (*Optional) StructValue ¶
type Params ¶
type Params struct { Name string Int16ToUint32 int16 `ydb:"types:uint32,conv:cmp"` IntToInt64 int `ydb:"types:int64,conv:cmp"` }
func (*Params) QueryParameters ¶
func (p *Params) QueryParameters() *table.QueryParameters
type Times ¶
func (*Times) QueryParameters ¶
func (t *Times) QueryParameters() *table.QueryParameters
func (*Times) Scan ¶
func (*Times) StructType ¶
func (*Times) StructValue ¶
Source Files ¶
all.go container.go container_ydbgen.go conv.go conv_ydbgen.go date.go date_ydbgen.go optional.go optional_ydbgen.go params.go params_ydbgen.go
- Version
- v3.0.2
- Published
- Oct 22, 2021
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 32 minutes ago –
Tools for package owners.