Documentation
¶
Index ¶
- Constants
- Variables
- func CamelCase(text string) string
- func SaveProtobuf(dst io.Writer, functions []Function, pkg string) error
- func UnoCap(text string) string
- type Argument
- type Attribute
- type DB
- type Function
- func (f Function) AliasedName() string
- func (f Function) FullName() string
- func (f Function) HasCursorOut() bool
- func (fun Function) PlsqlBlock(checkName string) (plsql, callFun string)
- func (f Function) RealName() string
- func (f Function) SaveProtobuf(dst io.Writer, seen map[string]struct{}) error
- func (f Function) String() string
- type Object
- type ObjectOrScalar
- type Scalar
- type SqlDB
- type Triplet
Constants ¶
View Source
const ( DirIn = direction(1) DirOut = direction(2) DirInOut = direction(3) )
View Source
const ( MarkNull = "\u2400" // 0x2400 = nul //MarkValid = "\u6eff" // 0x6eff = fill; full, satisfied MarkValid = "Valid" // 0x6eff = fill; full, satisfied //MarkHidden = "\u533f" // 0x533f = hide MarkHidden = "_hidden" DefaultMaxVARCHARLength = 32767 DefaultMaxCHARLength = 10 )
Variables ¶
View Source
var Buffers = newBufPool(1 << 16)
View Source
var ErrUnknownScalarType = errors.New("unknown scalar type")
View Source
var MaxTableSize = 128
MaxTableSize is the maximum size of the array elements
View Source
var SBuffers = newSBufPool()
Functions ¶
Types ¶
type Attribute ¶
type Attribute struct { Name string AbsType string `json:",omitempty"` Type ObjectOrScalar // contains filtered or unexported fields }
type DB ¶
type DB struct { DB querier // contains filtered or unexported fields }
func (*DB) ReadObject ¶
type Function ¶
type Function struct { Triplet Alias string `json:",omitempty"` Args []Argument `json:",omitempty"` Returns *Attribute `json:",omitempty"` Replacement *Function `json:",omitempty"` ReplacementIsJSON bool `json:",omitempty"` LastDDL time.Time `json:",omitempty"` Documentation string `json:",omitempty"` // contains filtered or unexported fields }
func (Function) AliasedName ¶
func (Function) HasCursorOut ¶
func (Function) PlsqlBlock ¶
SavePlsqlBlock saves the plsql block definition into writer
func (Function) SaveProtobuf ¶
type ObjectOrScalar ¶
func (ObjectOrScalar) IsScalar ¶
func (a ObjectOrScalar) IsScalar() bool
type Scalar ¶
func (Scalar) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.