readonly Readonly

readonly: undefined | boolean

If true, open the briefcase readonly.

@note Readonly connections always hold a read transaction against the briefcase. That can cause the WAL file size to grow unbounded if changes happen while they're open (see Checkpoint starvation) It is a good idea to close the readonly connection before closing the writeable connection so the WAL file will be deleted.

Defined in

Last Updated: 16 April, 2024