code: function serializeMember(value, columnType) {
      
      // Start by checking if the specified column type is valid
      if (!isColumnTypeValid(columnType)) {
          throw new Error('Column type ' + columnType + ' is not supported');
      }
  
      // Now check if the specified value can be stored in a column of type columnType
      if (!isJSValueCompatibleWithColumnType(value, columnType)) {
          throw new Error('Converting value ' + JSON.stringify(value) + ' of type ' + typeof value + ' to type ' + columnType + ' is not supported.');
      }
  
      // If we are here, it means we are good to proceed with serialization
      
      var sqliteType = getSqliteType(columnType),
          serializedValue;
      
      switch (sqliteType) {
          case "TEXT":
              serializedValue = typeConverter.convertToText(value);
              break;
          case "INTEGER":
              serializedValue = typeConverter.convertToInteger(value);
              break;
          case "REAL":
              serializedValue = typeConverter.convertToReal(value);
              break;
          default:
              throw new Error('Column type ' + columnType + ' is not supported');
      }
      
      return serializedValue;
  }
docs: Serializes a property of an object into a value which can be stored in a SQLite column of type columnType.
  @private