docs: function quoteIdent(value) {
  
      if (value === undefined || value === null) {
          throw new Error('SQL identifier cannot be null or undefined');
      } else if (value === false) {
          return '"f"';
      } else if (value === true) {
          return '"t"';
      } else if (value instanceof Date) {
          return '"' + formatDate(value.toISOString()) + '"';
      } else if (value instanceof Buffer) {
          throw new Error('SQL identifier cannot be a buffer');
      } else if (Array.isArray(value) === true) {
          var temp = [];
          for (var i = 0; i < value.length; i++) {
              if (Array.isArray(value[i]) === true) {
                  throw new Error('Nested array to grouped list conversion is not supported for SQL identifier');
              } else {
                  temp.push(quoteIdent(value[i]));
              }
          }
          return temp.toString();
      } else if (value === Object(value)) {
          throw new Error('SQL identifier cannot be an object');
      }
  
      var ident = value.toString().slice(0); // create copy
  
      // do not quote a valid, unquoted identifier
      if (/^[a-z_][a-z0-9_$]*$/.test(ident) === true && isReserved(ident) === false) {
          return ident;
      }
  
      var quoted = '"';
  
      for (var i = 0; i < ident.length; i++) {
          var c = ident[i];
          if (c === '"') {
              quoted += c + c;
          } else {
              quoted += c;
          }
      }
  
      quoted += '"';
  
      return quoted;
  }