readonly Readonly

readonly: boolean | undefined

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: 13 November, 2024