We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd283b commit 10e7dc0Copy full SHA for 10e7dc0
plugin/plugin_test.go
@@ -15,6 +15,13 @@ import (
15
"google.golang.org/protobuf/types/known/structpb"
16
)
17
18
+func testQueryRequest() (string, string) {
19
+ query := "SELECT * FROM users"
20
+ queryMsg := pgproto3.Query{String: query}
21
+ // Encode the data to base64.
22
+ return query, base64.StdEncoding.EncodeToString(queryMsg.Encode(nil))
23
+}
24
+
25
func testStartupRequest() string {
26
startupMsg := pgproto3.StartupMessage{
27
ProtocolVersion: 196608,
0 commit comments