22 lines
258 B
JavaScript
22 lines
258 B
JavaScript
|
/**
|
||
|
* The equivalent of a SQL expression.
|
||
|
**/
|
||
|
Sql.Expr = new Class
|
||
|
({
|
||
|
Extends: Sql.Object
|
||
|
,Tag: 'sql-expr'
|
||
|
,Parent: 'operation'
|
||
|
,Properties:
|
||
|
{
|
||
|
operation:
|
||
|
{
|
||
|
type: Sql.Operation
|
||
|
,set: function (x)
|
||
|
{
|
||
|
x.exprs.add (this);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|