var Dml = require('./dml');

/**
 * The equivalent of a SQL insert.
 */
module.exports = new Class({
	Extends: Dml

	,render(params) {
		return 'INSERT INTO'
			+ this.renderTarget(params)
			+ ' ('
			+ this.renderListWs(this.field, params, ', ')
			+ ') VALUES ('
			+ this.renderListWs(this.expr, params, ', ')
			+ ')';
	}
})