Source: state.js

'use strict';

/** @module State */
module.exports = function State() {
	return {
		// Arrays/Maps
		queryMap: [],
		values: [],
		whereValues: [],
		setArrayKeys: [],
		orderArray: [],
		groupArray: [],
		havingMap: [],
		whereMap: {},
		rawWhereValues: [],

		// Partials
		selectString: '',
		fromString: '',
		setString: '',
		orderString: '',
		groupString: '',

		// Other various values
		limit: null,
		offset: null
	};
};
// End of module State
DocStrap Copyright © 2012-2014 The contributors to the JSDoc3 and DocStrap projects.
Documentation generated by JSDoc 3.3.0-alpha9 on Fri Jan 23rd 2015 using the DocStrap template.