hedera-web/js/sql/table.js

28 lines
320 B
JavaScript
Raw Normal View History

/**
*
**/
Sql.Table = new Class
({
Extends: Sql.Target
,Properties:
{
name:
{
type: String
,value: null
},
schema:
{
type: String
,value: null
}
}
,render: function (batch)
{
2015-03-31 15:14:44 +00:00
var sql = this.schema ? '`' + this.schema + '`.' : '';
sql += '`' + this.name + '`';
return sql;
}
});