QueryHistory is a single history entry.
| 22 | |
| 23 | // QueryHistory is a single history entry. |
| 24 | type QueryHistory struct { |
| 25 | ID int64 |
| 26 | Providers string |
| 27 | Regions string |
| 28 | Categories string |
| 29 | ProductFamilies string |
| 30 | Attributes string |
| 31 | Prices string |
| 32 | ResultCount int64 |
| 33 | CacheKey string |
| 34 | CreatedAt time.Time |
| 35 | } |
| 36 | |
| 37 | // New opens (or creates) the SQLite database and runs migrations. |
| 38 | func New() (*DB, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected