var Target = require('./target'); /** * Represents a database table. */ module.exports = new Class ({ Extends: 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; } });