function convertSystemQueryOptions(mQueryOptions, fnResultHandler) {
		Object.keys(mQueryOptions).forEach(function (sKey) {
			var vValue = mQueryOptions[sKey];

			switch (sKey) {
				case "$select":
					if (Array.isArray(vValue)) {
						vValue = vValue.join(",");
					}
					break;
				case "$expand":
					vValue = Cache.convertExpand(vValue);
					break;
				default:
					if (sKey[0] === '$') {
						throw new Error("Unsupported system query option " + sKey);
					}
			}
			fnResultHandler(sKey, vValue);
		});
	}
/**
	 * Converts the known OData system query options from map or array notation to a string. All
	 * other parameters are simply passed through.
	 *
	 * @param {object} mQueryOptions The query options
	 * @param {function(string,any)} fnResultHandler
	 *   The function to process the converted options getting the name and the value
	 */
Converts the known OData system query options from map or array notation to a string. All
other parameters are simply passed through.

@param {object} mQueryOptions The query options
@param {function(string,any)} fnResultHandler
The function to process the converted options getting the name and the value
Converts the known OData system query options from map or array notation to a string . All other parameters are simply passed through . @param { object } mQueryOptions The query options @param { function ( string any ) } fnResultHandler The function to process the converted options getting the name and the value
function convertSystemQueryOptions(mQueryOptions, fnResultHandler) {
		Object.keys(mQueryOptions).forEach(function (sKey) {
			var vValue = mQueryOptions[sKey];
			switch (sKey) {
				case "$select":
					if (Array.isArray(vValue)) {
						vValue = vValue.join(",");
					}
					break;
				case "$expand":
					vValue = Cache.convertExpand(vValue);
					break;
				default:
					if (sKey[0] === '$') {
						throw new Error("Unsupported system query option " + sKey);
					}
			}
			fnResultHandler(sKey, vValue);
		});
	}
function convertSystemQueryOptions ( mQueryOptions , fnResultHandler ) { Object . keys ( mQueryOptions ) . forEach ( function ( sKey ) { var vValue = mQueryOptions [ sKey ] ; switch ( sKey ) { case "$select" : if ( Array . isArray ( vValue ) ) { vValue = vValue . join ( "," ) ; } break ; case "$expand" : vValue = Cache . convertExpand ( vValue ) ; break ; default : if ( sKey [ 0 ] === '$' ) { throw new Error ( "Unsupported system query option " + sKey ) ; } } fnResultHandler ( sKey , vValue ) ; } ) ; }
Converts the known OData system query options from map or array notation to a string.
Converts the known OData system query options from map or array notation to a string .