WIP: Transaction implementation

This commit is contained in:
2026-05-24 00:04:43 +02:00
parent e98dbe3338
commit 4da3bf231b
6 changed files with 419 additions and 131 deletions
+4
View File
@@ -36,6 +36,10 @@ func (c *DBConnection) Prepare(sql string) (*sql.Stmt, error) {
return c.db.Prepare(sql)
}
func (c *DBConnection) Begin() (*sql.Tx, error) {
return c.db.Begin()
}
func (c *DBConnection) Close() (bool, error) {
err := c.db.Close()
if err != nil {