mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #88] Allow read-only access to the database #56
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bernatesquirol on GitHub (Mar 24, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/88
Originally assigned to: @appy-one on GitHub.
It would be great to be able to reference as a read-only an already created storage-database.
A use case is using acebase as a "cache" in AWS Lambda, where the writing of files is forbidden, but the reading is allowed.
In short, being able to change this
r+->rfrom functionopenDatabaseFileinstorage-acebase.js24ca5f2038/src/storage-acebase.js (L764)@appy-one commented on GitHub (Apr 1, 2022):
I just published v1.16.0 which supports this, simply pass
readOnly: truein thestoragesettings:Let me know if it works!