| 24 | } |
| 25 | |
| 26 | type Database interface { |
| 27 | Update(q *Update) |
| 28 | GenerateQuery(u *Update) (string, []string) |
| 29 | GetPlaceholderForDatabaseType() string |
| 30 | GetFileName() string |
| 31 | GetTableNamesQuery() string |
| 32 | GetDatabaseReference() *sql.DB |
| 33 | CloseDatabaseReference() |
| 34 | SetDatabaseReference(dbPath string) |
| 35 | } |
| 36 | |
| 37 | type Update struct { |
| 38 | v map[string]interface{} // these are anchors to ensure the right row/col gets updated |
no outgoing calls
no test coverage detected