Documentation ¶
Index ¶
- Variables
- func NewPSCurrentThreadID() sql.Expression
- type PSCurrentThreadID
- func (PSCurrentThreadID) CollationCoercibility(ctx *sql.Context) (collation sql.CollationID, coercibility byte)
- func (c PSCurrentThreadID) Description() string
- func (c PSCurrentThreadID) Eval(ctx *sql.Context, row sql.Row) (interface{}, error)
- func (c PSCurrentThreadID) FunctionName() string
- func (c PSCurrentThreadID) IsNonDeterministic() bool
- func (c PSCurrentThreadID) WithChildren(children ...sql.Expression) (sql.Expression, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtraBuiltIns = []sql.Function{ sql.Function0{Name: "ps_current_thread_id", Fn: NewPSCurrentThreadID}, }
Functions ¶
func NewPSCurrentThreadID ¶
func NewPSCurrentThreadID() sql.Expression
Types ¶
type PSCurrentThreadID ¶
func (PSCurrentThreadID) CollationCoercibility ¶
func (PSCurrentThreadID) CollationCoercibility(ctx *sql.Context) (collation sql.CollationID, coercibility byte)
CollationCoercibility implements the interface sql.CollationCoercible.
func (PSCurrentThreadID) Description ¶
func (c PSCurrentThreadID) Description() string
Description implements sql.FunctionExpression
func (PSCurrentThreadID) FunctionName ¶
func (c PSCurrentThreadID) FunctionName() string
FunctionName implements sql.FunctionExpression
func (PSCurrentThreadID) IsNonDeterministic ¶
func (c PSCurrentThreadID) IsNonDeterministic() bool
func (PSCurrentThreadID) WithChildren ¶
func (c PSCurrentThreadID) WithChildren(children ...sql.Expression) (sql.Expression, error)
WithChildren implements sql.Expression
Click to show internal directories.
Click to hide internal directories.