MCPcopy
hub / github.com/mathaou/termdbms / Database

Interface Database

database/query.go:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26type 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
37type Update struct {
38 v map[string]interface{} // these are anchors to ensure the right row/col gets updated

Callers 18

initFunction · 0.65
EditEnterFunction · 0.65
populateUndoFunction · 0.65
SerializeSQLiteDBFunction · 0.65
SetModelMethod · 0.65
EditEnterFunction · 0.65
handleSQLModeFunction · 0.65
initFunction · 0.65
populateUndoFunction · 0.65
SerializeSQLiteDBFunction · 0.65

Implementers 1

SQLitedatabase/sqlite.go

Calls

no outgoing calls

Tested by

no test coverage detected