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-beta1 on Wed Jan 28th 2015 using the DocStrap template.