Merge pull request #416 from go-jet/stmt-cache2

Add support for prepared statement caching
This commit is contained in:
go-jet 2024-10-29 11:50:53 +01:00 committed by GitHub
commit 49104d1969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 1067 additions and 301 deletions

View file

@ -987,14 +987,14 @@ WHERE artists.''ArtistId'' = 11;
}
func TestRowsScan(t *testing.T) {
stmt :=
SELECT(
Inventory.AllColumns,
).FROM(
Inventory,
).ORDER_BY(
Inventory.InventoryID.ASC(),
)
stmt := SELECT(
Inventory.AllColumns,
).FROM(
Inventory,
).ORDER_BY(
Inventory.InventoryID.ASC(),
)
rows, err := stmt.Rows(context.Background(), db)
require.NoError(t, err)