You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oryx/dbal/driver.go
-15Lines changed: 0 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,9 @@
4
4
package dbal
5
5
6
6
import (
7
-
"context"
8
-
"errors"
9
7
"strings"
10
8
)
11
9
12
-
var (
13
-
// ErrNoResponsibleDriverFound is returned when no driver was found for the provided DSN.
14
-
ErrNoResponsibleDriverFound=errors.New("dsn value requested an unknown driver")
15
-
ErrSQLiteSupportMissing=errors.New(`the DSN connection string looks like a SQLite connection, but SQLite support was not built into the binary. Please check if you have downloaded the correct binary or are using the correct Docker Image. Binary archives and Docker Images indicate SQLite support by appending the -sqlite suffix`)
16
-
)
17
-
18
-
// Driver represents a driver
19
-
typeDriverinterface {
20
-
// Ping returns nil if the driver has connectivity and is healthy or an error otherwise.
21
-
Ping() error
22
-
PingContext(context.Context) error
23
-
}
24
-
25
10
// IsSQLite returns true if the connection is a SQLite string.
0 commit comments