On 05/08/2023 05:57, Rudolf Adamkovič wrote:
+*** Make ~ob-sqlite~ use in-database by default
"use in-memory database"
+ +SQLite source blocks with no ~:db~ argument now execute against a +transient in-memory database by default.
I am unsure, but perhaps it would be more clear to say that the default value of the header argument has changed and it is possible to omit setting :db per-block or as a header argument. It should give a hint how to revert this change in local configuration if somebody wish it.
This makes Org match the +default behavior of the ~sqlite3~ shell and makes SQLite blocks more +practical out of the box. +
Feel free to just ignore the following. Perhaps to get *really* default behavior ob-sqlite should not check :db value and should not pass it to the command in the case of nil. As a result the command spits a warning.
Earlier I was thinking on buffer-local variables whether the warning has been shown to the user (to do it once), but I think it would lead to unreasonable complication of code with a little value for users.