Commit Graph

7 Commits

Author SHA1 Message Date
Anton Zhiyanov
2178c81fca postgres backend (#48) 2025-07-13 13:05:18 +05:00
Anton
85cd2e5d41 command: string - strlen 2024-11-12 00:40:05 +05:00
Anton
818954d339 refactor: use vfs=memdb instead of mode=memory&cache=shared
Shared cache is discouraged. The supported alternative
(and increasingly recommended by SQLite developers),
is the memdb VFS (which I believe is supported by all drivers).
I'm sure modernc has it, and mattn also does if compiled with
SQLITE_ENABLE_DESERIALIZE, which became the default in 2021.

https://github.com/ncruces/go-sqlite3/issues/94#issuecomment-2157679766
2024-06-10 21:55:49 +05:00
Anton
2e507f8319 fix: command - always return non-nil command when parsing (fix #27)
To avoid panic when calling pcmd.Error in handlers.parse.
2024-06-09 00:14:12 +05:00
Anton
4aff4a9033 fix: command - distinguish between key not found and zero value 2024-05-04 23:33:37 +05:00
Anton
bd8208bae4 refactor: command - better encapsulation and simpler tests 2024-04-30 15:54:27 +05:00
Anton
5e789cf1bd refactor: command - subpackages 2024-04-30 02:01:19 +05:00