Commit graph

28 commits

Author SHA1 Message Date
a7771672be define core types in lib, use in storage 2024-03-26 09:35:56 +01:00
662868cae1 fix insert track: return trackId 2024-03-25 22:26:16 +01:00
51401bf909 tracking: insert basically working 2024-03-25 14:59:50 +01:00
4787e4ffce move template handling to separate source file; parse templates on init 2024-03-25 10:24:25 +01:00
8d022e1930 more on SQL templates - create table 'tracks', with DB-specific parameters 2024-03-24 19:13:10 +01:00
1b83cd227f work in progress: tracking - creaate table 'tracks' 2024-03-24 09:54:32 +01:00
3923d49666 work in progress: storage/tracking 2024-03-22 11:20:16 +01:00
16c9b87d3c some renaming of packages; work in progress / just started: storage/tracking 2024-03-21 17:14:50 +01:00
9f09a35f3b rename storage/msgstore to .../message 2024-03-19 08:33:39 +01:00
257167f0f6 work in progress: storage (SQL database) service with msgstore functionality 2023-11-19 12:53:56 +01:00
520244fb19 allow callable (returning data) in request action handler 2023-11-19 09:45:43 +01:00
f9cb596252 storage: first version of BuildQuery() basically OK 2023-08-24 12:00:43 +02:00
59e6516333 experimental: build query functionality: now with one template with define-d sub-templates 2023-08-24 10:00:03 +02:00
3c81a179cc experimental: build query functionality using templates 2023-08-24 09:32:11 +02:00
afa1c3e860 storage/sql: allow dynamic setting of table name (including schema) via template 2023-08-22 14:10:27 +02:00
064c442d4a storage: minor improvements, helper methods (DropTable, RunScript), Cfg: +Schema 2023-08-22 08:23:45 +02:00
e8a6696bcb work in progress: msgstore: store message 2023-08-21 13:57:47 +02:00
8d9de5b972 storage: collect errors; upgrade to Go 1.21 2023-08-18 11:31:40 +02:00
17e044dee2 QueryData: keep both variants of scan method: call by value, call by reference (pointer) 2023-08-16 17:05:40 +02:00
d45f6866b7 now with separate constraint definition for scanner as pointer 2023-08-16 16:04:26 +02:00
75dab21163 make use of pointer in generic method call 2023-08-16 15:58:59 +02:00
55c3444911 sql.QueryDatat(): minor improvements, better tests 2023-08-16 15:10:42 +02:00
0bfd2a6ca1 fix type parameters for QueryData() 2023-08-16 12:50:32 +02:00
53f91b4875 new QueryData using generic Scanner interface (for assigning struct items) 2023-08-16 10:41:43 +02:00
d86ab50a41 storage: Query method and QueryData function 2023-08-15 19:02:09 +02:00
d7096500ce storage: sql.Exec() OK 2023-08-15 16:45:54 +02:00
f1ce07fd7e storage: prepare for parallel testing of sqlite and pgsql 2023-08-15 14:33:54 +02:00
ecceb9803b work in progress: sqlite storage 2023-08-14 22:23:02 +02:00