22 namespace Deveel.Data.Sql.Variables {
25 return query.
Context.DeclareVariable(variableInfo);
29 query.
Context.DropVariable(variableName);
33 return query.
Context.SetVariable(variableName, value);
37 return query.
Context.FindVariable(variableName);
41 return DeclareVariable(query, variableName, variableType,
false);
45 return query.DeclareVariable(
new VariableInfo(variableName, variableType, constant));
static void DropVariable(this IQuery query, string variableName)
static Variable SetVariable(this IQuery query, string variableName, SqlExpression value)
static Variable DeclareVariable(this IQuery query, string variableName, SqlType variableType, bool constant)
Defines the properties of a specific SQL Type and handles the values compatible.
static Variable FindVariable(this IQuery query, string variableName)
static Variable DeclareVariable(this IQuery query, string variableName, SqlType variableType)
Defines the base class for instances that represent SQL expression tree nodes.
static Variable DeclareVariable(this IQuery query, VariableInfo variableInfo)
new IQueryContext Context