MCPcopy Index your code
hub / github.com/upper/db / Test_Issue391_BinaryMode

Method Test_Issue391_BinaryMode

adapter/postgresql/postgresql_test.go:1113–1132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1111}
1112
1113func (s *AdapterTests) Test_Issue391_BinaryMode() {
1114 settingsWithBinaryMode := ConnectionURL{
1115 Database: settings.Database,
1116 User: settings.User,
1117 Password: settings.Password,
1118 Host: settings.Host,
1119 Options: map[string]string{
1120 "timezone": testsuite.TimeZone,
1121 //"binary_parameters": "yes",
1122 },
1123 }
1124
1125 sess, err := Open(settingsWithBinaryMode)
1126 if err != nil {
1127 s.T().Errorf("%v", err)
1128 }
1129 defer sess.Close()
1130
1131 testPostgreSQLTypes(s.T(), sess)
1132}
1133
1134func (s *AdapterTests) TestStringAndInt64Array() {
1135 sess := s.Session()

Callers

nothing calls this directly

Calls 4

OpenFunction · 0.70
testPostgreSQLTypesFunction · 0.70
ErrorfMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected