sdk/src/MobileServiceTable.js
function addQueryParametersFeaturesIfApplicable(features, userQueryParameters) {
    var hasQueryParameters = false;
    if (userQueryParameters) {
        if (Array.isArray(userQueryParameters)) {
            hasQueryParameters = userQueryParameters.length > 0;
        } else if (_.isObject(userQueryParameters)) {
            for (var k in userQueryParameters) {
                hasQueryParameters = true;
                break;
            }
        }
    }

    if (hasQueryParameters) {
        features.push(constants.features.AdditionalQueryParameters);
    }

    return features;
}
function addQueryParametersFeaturesIfApplicable(features, userQueryParameters) {
    var hasQueryParameters = false;
    if (userQueryParameters) {
        if (Array.isArray(userQueryParameters)) {
            hasQueryParameters = userQueryParameters.length > 0;
        } else if (_.isObject(userQueryParameters)) {
            for (var k in userQueryParameters) {
                hasQueryParameters = true;
                break;
            }
        }
    }

    if (hasQueryParameters) {
        features.push(constants.features.AdditionalQueryParameters);
    }

    return features;
}
function addQueryParametersFeaturesIfApplicable ( features , userQueryParameters ) { var hasQueryParameters = false ; if ( userQueryParameters ) { if ( Array . isArray ( userQueryParameters ) ) { hasQueryParameters = userQueryParameters . length > 0 ; } else if ( _ . isObject ( userQueryParameters ) ) { for ( var k in userQueryParameters ) { hasQueryParameters = true ; break ; } } } if ( hasQueryParameters ) { features . push ( constants . features . AdditionalQueryParameters ) ; } return features ; }
Updates and returns the headers parameters with features used in the call
Updates and returns the headers parameters with features used in the call