28 lines
320 B
JavaScript
28 lines
320 B
JavaScript
/**
|
|
*
|
|
**/
|
|
Sql.Table = new Class
|
|
({
|
|
Extends: Sql.Target
|
|
,Properties:
|
|
{
|
|
name:
|
|
{
|
|
type: String
|
|
,value: null
|
|
},
|
|
schema:
|
|
{
|
|
type: String
|
|
,value: null
|
|
}
|
|
}
|
|
|
|
,render: function (batch)
|
|
{
|
|
var sql = this.schema ? '`' + this.schema + '`.' : '';
|
|
sql += '`' + this.name + '`';
|
|
return sql;
|
|
}
|
|
});
|