datajoint-python icon indicating copy to clipboard operation
datajoint-python copied to clipboard

External stores should provide the options to store in the database.

Open dimitri-yatsenko opened this issue 5 years ago • 0 comments
trafficstars

When an attachment attribute is declared with type attach@storename or a blob attribute with type blob@store, their values are stored as files in an external store (e.g. filesystem or S3) specified by dj['stores']['storename']. To cause the data to be stored directly in the database, different types are used attach and lonbglob, respectively. This makes it so that the decision where the data are stored is made in the table declaration rather than the configuration file.

We propose to allow stores to specify database as the storage. This allows using the same table definitions for different storage configurations. In addition to the currently supported store protocols file and s3, datajoint will also support protocol database.

dimitri-yatsenko avatar Apr 23 '20 23:04 dimitri-yatsenko