Re: Add 'readonly' option to ob-sqlite

2024-06-25 Thread Ihor Radchenko
dmg writes: > I have changed the code. > > 1. It is enabled only with ":readonly yes. Disabled with any other value > > 2. Documented change in NEWS > > 3. Added a patch for Worg Thanks! Applied, onto main, after changing the commit message to follow our rules. I also changed the allowed values

Re: Add 'readonly' option to ob-sqlite

2024-06-23 Thread dmg
hi Ihor, Ihor Radchenko writes: > "Daniel M. German" writes: > >> Sometimes I think it is useful to open a DB in readonly mode >> >> eg. to avoid modifying by mistake >> >> This is a patch to ob-sqlite.el to accomplish that >> >> It adds support for opening a sqlite database in readonly only.

Re: Add 'readonly' option to ob-sqlite

2024-06-07 Thread Ihor Radchenko
"Daniel M. German" writes: > Sometimes I think it is useful to open a DB in readonly mode > > eg. to avoid modifying by mistake > > This is a patch to ob-sqlite.el to accomplish that > > It adds support for opening a sqlite database in readonly only. > > It does it by adding a babel parameter rea

Add 'readonly' option to ob-sqlite

2024-06-06 Thread Daniel M. German
hi everybody, Sometimes I think it is useful to open a DB in readonly mode eg. to avoid modifying by mistake This is a patch to ob-sqlite.el to accomplish that It adds support for opening a sqlite database in readonly only. It does it by adding a babel parameter readonly. If present, the dat