Commit graph

28 commits

Author SHA1 Message Date
91dd8978ed storage: working again after eliminiating engine / keep everything in context->storage 2024-06-28 16:17:02 +02:00
a7f449d8e6 work in progress: get rid of engine, keep storage in storage:context 2024-06-28 15:12:33 +02:00
0aa8ecb732 storage: use config mechanism for providing database settings 2024-06-27 14:06:17 +02:00
e0e65efa39 get-track basically working 2024-05-18 09:16:09 +02:00
8b006042d4 minor refactorings; + utility for SQL results: normalize-plist 2024-05-17 16:36:58 +02:00
723ae93c83 put methods directly into generic definition 2024-05-16 19:20:39 +02:00
b168015309 fix do-sql method (via prepared query): use correct query object for free-query-resources 2024-05-16 18:09:38 +02:00
1f8fe04b45 use specialized engine subclass for postres for controlling timestamp conversion 2024-05-16 16:48:03 +02:00
bc6c1d8e31 do-sql: trying some variations: hangs with sqlite; free-query-resources: error on postgres 2024-05-16 15:42:29 +02:00
bee8d6d75e insert: use query form, return trackid and timestamp; timestamp: without TZ 2024-05-16 08:27:22 +02:00
35348f3fdb work in progress: insert track; provide (and use) item-factory slot in container 2024-05-14 16:36:53 +02:00
4dab1785a5 create table: use schema option if set 2024-05-14 09:49:50 +02:00
935465245f more refactoring, improve SQL generation 2024-05-13 09:43:35 +02:00
c832ba70f3 more refactorings: get rid of global *db-engine*, starting with methods on db-engine and storage 2024-05-12 19:27:11 +02:00
d7eaac4294 use 'backend' setting for selecting make-engine implementation 2024-05-12 15:28:00 +02:00
559c3f3281 storage refactoring: prepare for using methods for storage creation and db access 2024-05-12 12:37:24 +02:00
3b36d4e54a improve test set-up, load config when running test 2024-05-09 18:56:04 +02:00
3aacee896d improve config: separate :connect-args 2024-05-09 10:45:23 +02:00
3f2fea6617 database access almost working - sqlite hangs... 2024-05-08 13:50:57 +02:00
8dfb22033d minor refactoring of basic storage code 2024-05-07 19:21:30 +02:00
c4fdc6eeec test set-up for storage: run tests with sqlite and postgresql settings 2024-05-07 18:41:14 +02:00
7b8db5f923 simplify testing code: use *tst* for test suite; renaming -> t:== 2024-05-07 11:11:15 +02:00
6938217533 rename db-params to db-config; provide both db-config vars in scopes/test-storage 2024-05-06 19:01:55 +02:00
5d7a4c0b82 replace tabs with spaces 2024-05-06 12:15:33 +02:00
82038d9dd5 work in progress: access to SQL DB: create/drop table, config via etc.lisp 2024-05-06 11:13:53 +02:00
c5c6a0bc7f more on storage/tracking: start constructing SQL with sxql 2024-05-05 22:25:42 +02:00
c2e27fe6dc work in progress: storage/tracking 2024-05-05 08:32:54 +02:00
4036a03882 initial set-up for storage / tracking stuff 2024-05-01 19:51:36 +02:00