fix/allow-many-rows #1

Merged
jake merged 8 commits from fix/allow-many-rows into main 2025-09-26 22:58:51 +00:00
Showing only changes of commit 4febf3d877 - Show all commits

View File

@@ -23,14 +23,14 @@ type MockResults struct {
Rows [][]driver.Value
}
type MockDetails struct {
type Config struct {
Query string
Example any
Keys []any
RowCount int
}
func GenerateRandomResults(m MockDetails) (*MockResults, error) {
func GenerateRandomResults(m Config) (*MockResults, error) {
if m.Example == nil {
return nil, errors.New("example value cannot be nil")
}