Introduction

As the name indicates, the database adapter allows you to store files and directories in your database. Depending on your needs, this can be handy if you only intended to store a limited amount of files (e.g. a few thousand¹).

¹: This is just a "best estimate". No actual performance tests have been conducted for this adapter!

Supported Databases

Behind the scene, Laravel's Database packageopen in new window is used to execute queries, which grants support for the following databases:

  • MariaDB
  • MySQL
  • PostgreSQL
  • SQLite
  • SQL Server

See Laravel's official documentation for more informationopen in new window.

Data Deduplication

The adapter makes use of Data Deduplicationopen in new window technique, which means that files that have the exact same content are only stored once. See the Deduplication section for more information.