made db module

This commit is contained in:
Leyla Becker 2025-04-21 17:34:39 -05:00
parent 2dd8cc3d2b
commit 3dacf06005
12 changed files with 82 additions and 99 deletions

View file

@ -0,0 +1,10 @@
package database
import (
"context"
)
func (database *Database) FindClaimsByBarcode(system string, barcode string) {
ctx := context.Background()
database.db.Exec(ctx, "SELECT * FROM user_claims")
}