code: function isJSValueCompatibleWithColumnType(value, columnType) {
      
      // Allow NULL values to be stored in columns of any type
      if (_.isNull(value)) {
          return true;
      }
      
      switch (columnType) {
          case ColumnType.Object:
              return _.isObject(value);
          case ColumnType.Array:
              return _.isArray(value);
          case ColumnType.String:
          case ColumnType.Text:
              return true; // Allow any value to be stored in a string column
          case ColumnType.Boolean:
          case ColumnType.Bool:
          case ColumnType.Integer:
          case ColumnType.Int:
              return _.isBool(value) || _.isInteger(value);
          case ColumnType.Date:
              return _.isDate(value);
          case ColumnType.Real:
          case ColumnType.Float:
              return _.isNumber(value);
          default:
              return false;
      }
  }
docs: Checks if the value can be stored in a table column of the specified type.
  Example: Float values can be stored in column of type ColumnType.Float but not ColumnType.Integer.
  @private