sql

package
v0.0.0-...-9335961 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2020 License: MPL-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_sql_nullbool_proto protoreflect.FileDescriptor
View Source
var File_proto_sql_nullfloat_proto protoreflect.FileDescriptor
View Source
var File_proto_sql_nullint_proto protoreflect.FileDescriptor
View Source
var File_proto_sql_nullstring_proto protoreflect.FileDescriptor
View Source
var File_proto_sql_nulltime_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type NullBool

type NullBool struct {
	Val   bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
	Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*NullBool) Descriptor deprecated

func (*NullBool) Descriptor() ([]byte, []int)

Deprecated: Use NullBool.ProtoReflect.Descriptor instead.

func (*NullBool) GetVal

func (x *NullBool) GetVal() bool

func (*NullBool) GetValid

func (x *NullBool) GetValid() bool

func (*NullBool) ProtoMessage

func (*NullBool) ProtoMessage()

func (*NullBool) ProtoReflect

func (x *NullBool) ProtoReflect() protoreflect.Message

func (*NullBool) Reset

func (x *NullBool) Reset()

func (*NullBool) Scan

func (n *NullBool) Scan(value interface{}) error

////////// NullBool /////////////////////// Scan implements Scanner interface for database driver

func (*NullBool) String

func (x *NullBool) String() string

func (NullBool) Value

func (n NullBool) Value() (driver.Value, error)

Value implements the driver Valuer interface for database driver

type NullFloat32

type NullFloat32 struct {
	Val   float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"`
	Valid bool    `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*NullFloat32) Descriptor deprecated

func (*NullFloat32) Descriptor() ([]byte, []int)

Deprecated: Use NullFloat32.ProtoReflect.Descriptor instead.

func (*NullFloat32) GetVal

func (x *NullFloat32) GetVal() float32

func (*NullFloat32) GetValid

func (x *NullFloat32) GetValid() bool

func (*NullFloat32) ProtoMessage

func (*NullFloat32) ProtoMessage()

func (*NullFloat32) ProtoReflect

func (x *NullFloat32) ProtoReflect() protoreflect.Message

func (*NullFloat32) Reset

func (x *NullFloat32) Reset()

func (*NullFloat32) Scan

func (n *NullFloat32) Scan(value interface{}) error

////////// NullFloat32 /////////////////////// Scan implements Scanner interface for database driver

func (*NullFloat32) String

func (x *NullFloat32) String() string

func (NullFloat32) Value

func (n NullFloat32) Value() (driver.Value, error)

Value implements the driver Valuer interface for database driver

type NullFloat64

type NullFloat64 struct {
	Val   float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"`
	Valid bool    `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*NullFloat64) Descriptor deprecated

func (*NullFloat64) Descriptor() ([]byte, []int)

Deprecated: Use NullFloat64.ProtoReflect.Descriptor instead.

func (*NullFloat64) GetVal

func (x *NullFloat64) GetVal() float64

func (*NullFloat64) GetValid

func (x *NullFloat64) GetValid() bool

func (*NullFloat64) ProtoMessage

func (*NullFloat64) ProtoMessage()

func (*NullFloat64) ProtoReflect

func (x *NullFloat64) ProtoReflect() protoreflect.Message

func (*NullFloat64) Reset

func (x *NullFloat64) Reset()

func (*NullFloat64) Scan

func (n *NullFloat64) Scan(value interface{}) error

////////// NullFloat64 /////////////////////// Scan implements Scanner interface for database driver

func (*NullFloat64) String

func (x *NullFloat64) String() string

func (NullFloat64) Value

func (n NullFloat64) Value() (driver.Value, error)

Value implements the driver Valuer interface for database driver

type NullInt32

type NullInt32 struct {
	Val   int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
	Valid bool  `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*NullInt32) Descriptor deprecated

func (*NullInt32) Descriptor() ([]byte, []int)

Deprecated: Use NullInt32.ProtoReflect.Descriptor instead.

func (*NullInt32) GetVal

func (x *NullInt32) GetVal() int32

func (*NullInt32) GetValid

func (x *NullInt32) GetValid() bool

func (*NullInt32) ProtoMessage

func (*NullInt32) ProtoMessage()

func (*NullInt32) ProtoReflect

func (x *NullInt32) ProtoReflect() protoreflect.Message

func (*NullInt32) Reset

func (x *NullInt32) Reset()

func (*NullInt32) Scan

func (n *NullInt32) Scan(value interface{}) error

/////// NullInt32 /////////////////////// Scan implements Scanner interface for database driver

func (*NullInt32) String

func (x *NullInt32) String() string

func (NullInt32) Value

func (n NullInt32) Value() (driver.Value, error)

Value implements the driver Valuer interface for database driver

type NullInt64

type NullInt64 struct {
	Val   int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
	Valid bool  `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*NullInt64) Descriptor deprecated

func (*NullInt64) Descriptor() ([]byte, []int)

Deprecated: Use NullInt64.ProtoReflect.Descriptor instead.

func (*NullInt64) GetVal

func (x *NullInt64) GetVal() int64

func (*NullInt64) GetValid

func (x *NullInt64) GetValid() bool

func (*NullInt64) ProtoMessage

func (*NullInt64) ProtoMessage()

func (*NullInt64) ProtoReflect

func (x *NullInt64) ProtoReflect() protoreflect.Message

func (*NullInt64) Reset

func (x *NullInt64) Reset()

func (*NullInt64) Scan

func (n *NullInt64) Scan(value interface{}) error

////////// NullInt64 /////////////////////// Scan implements Scanner interface for database driver

func (*NullInt64) String

func (x *NullInt64) String() string

func (NullInt64) Value

func (n NullInt64) Value() (driver.Value, error)

Value implements the driver Valuer interface for database driver

type NullString

type NullString struct {
	Val   string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"`
	Valid bool   `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*NullString) Descriptor deprecated

func (*NullString) Descriptor() ([]byte, []int)

Deprecated: Use NullString.ProtoReflect.Descriptor instead.

func (*NullString) GetVal

func (x *NullString) GetVal() string

func (*NullString) GetValid

func (x *NullString) GetValid() bool

func (*NullString) ProtoMessage

func (*NullString) ProtoMessage()

func (*NullString) ProtoReflect

func (x *NullString) ProtoReflect() protoreflect.Message

func (*NullString) Reset

func (x *NullString) Reset()

func (*NullString) Scan

func (n *NullString) Scan(value interface{}) error

Scan implements the Scanner interface.

func (*NullString) String

func (x *NullString) String() string

func (NullString) Value

func (n NullString) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type NullTime

type NullTime struct {
	Val   int64 `protobuf:"varint,1,opt,name=Val,proto3" json:"Val,omitempty"`
	Valid bool  `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*NullTime) Descriptor deprecated

func (*NullTime) Descriptor() ([]byte, []int)

Deprecated: Use NullTime.ProtoReflect.Descriptor instead.

func (*NullTime) GetVal

func (x *NullTime) GetVal() int64

func (*NullTime) GetValid

func (x *NullTime) GetValid() bool

func (*NullTime) ProtoMessage

func (*NullTime) ProtoMessage()

func (*NullTime) ProtoReflect

func (x *NullTime) ProtoReflect() protoreflect.Message

func (*NullTime) Reset

func (x *NullTime) Reset()

func (*NullTime) Scan

func (n *NullTime) Scan(value interface{}) error

/////// NullTime /////////////////////// Scan implements Scanner interface for database driver

func (*NullTime) String

func (x *NullTime) String() string

func (NullTime) Value

func (n NullTime) Value() (driver.Value, error)

Value implements the driver Valuer interface for database driver

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL