Skip to content

Database compatibility ​

DatabaseStatus
MySQL 8Supported. Tested on 8.4.
PostgreSQLSupported. Tested on 17. Values are stored as jsonb.
SQLiteSupported. Tested on the version bundled with PHP. Needs the JSON functions (built in since 3.38).
MariaDBNot supported. Reading and writing can work, but the query scopes throw.
SQL ServerNot supported.

CI runs the full test suite against all three supported databases.

Differences between databases ​

  • Text search (whereCustomFieldContains on text) ignores case. On SQLite, it ignores case for ASCII letters only.
  • Object key order. MySQL and PostgreSQL can reorder the keys of objects stored in json fields. Field settings, such as the order of select options, keep the order you gave.
  • Text order. Strings compare byte by byte on every database, so results are the same everywhere.

Released under the MIT License.