28 lines
320 B
JavaScript
Executable File
28 lines
320 B
JavaScript
Executable File
/**
|
|
*
|
|
**/
|
|
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;
|
|
}
|
|
});
|