forked from verdnatura/hedera-web
29 lines
332 B
JavaScript
Executable File
29 lines
332 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;
|
|
sql = this.schema ? '`' + this.schema + '`.' : '';
|
|
sql = sql + '`' + this.name + '`';
|
|
return sql;
|
|
}
|
|
});
|