Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MockExecuteStatement = "UPDATE users SET name = $1 age = $2 WHERE id = $3" MockExecuteParameters = []any{"John", 30, 1} MockQueryStatement = "SELECT * FROM users WHERE age >= $1 and age < $2 and active = $3" MockQueryParameters = []any{18, 21, true} MockQueryScalarStatement = "SELECT COUNT(*) FROM users WHERE age >= $1 and age < $2 and active = $3" MockQueryScalarParameters = []any{0, 18, false} )
View Source
var DatabaseQueryCallStack = testutils.NewCallStack()
Functions ¶
Types ¶
type HostQueryResponse ¶
Click to show internal directories.
Click to hide internal directories.