aboutsummaryrefslogtreecommitdiff
path: root/dbstore
AgeCommit message (Expand)AuthorFilesLines
2022-02-18dbstore: rename Tx to Begin, add Tx which accepts callback and handles commit...Paul Duncan2-91/+109
2022-02-18dbstore: refactor sqlfs and tx, add tx testsPaul Duncan6-150/+793
2022-02-18dbstore: add enableForeignKeys()Paul Duncan1-2/+8
2022-02-17dbstore: add DbStore#CpeMatchSearch() and backing queryPaul Duncan2-5/+71
2022-02-17dbstore/dbstore.go: add AddCpeMatches()Paul Duncan1-0/+100
2022-02-17dbstore/dbstore.go: update cpe queries, move queryIds outside of funcPaul Duncan1-5/+11
2022-02-17dbstore/cpesearch*: refactor search queriesPaul Duncan3-7/+7
2022-02-17dbstore/sql: add cpe and cpe-match subdirsPaul Duncan11-0/+20
2022-02-17dbstore/sql/init.sql: add cpe_match* tablesPaul Duncan1-4/+99
2022-02-05dbscore: add openFull and testPaul Duncan2-7/+19
2022-02-05dbstore: add CpeSearch() fail testsPaul Duncan1-2/+20
2022-02-05dbstore/dbstore.go: add comment about weird result set error handlingPaul Duncan1-0/+4
2022-02-05dbstore: refactor, separate cpesearchrow and cpesearchtype, add cpesearchtype...Paul Duncan6-117/+156
2022-02-05dbstore: add unmarshalcpesearchrow and testsPaul Duncan2-36/+270
2022-02-05dbstore/sql/init.sql: constrain text colsPaul Duncan1-4/+12
2022-02-05dbstore: add Open failure testsPaul Duncan1-5/+17
2022-02-05mv internal/dbstore dbstorePaul Duncan20-0/+1112