code: function convertAndMergeHiddenQueryProps(model, json, omitProps, builder) {
    const queryProps = model[QUERY_PROPS_PROPERTY];
  
    if (!queryProps) {
      // The model has no query properties.
      return json;
    }
  
    const modelClass = model.constructor;
    const keys = Object.keys(queryProps);
  
    for (let i = 0, l = keys.length; i < l; ++i) {
      const key = keys[i];
  
      if (!omitProps || !omitProps.includes(key)) {
        const queryProp = queryPropToKnexRaw(queryProps[key], builder);
        json[modelClass.propertyNameToColumnName(key)] = queryProp;
      }
    }
  
    return json;
  }
docs: Converts and merges the query props that were split from the model and stored into QUERY_PROPS_PROPERTY.