Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3
Postgres#62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Postgres #62
Changes from all commits
fa05d57351a6dcb1b982d2d9462f6643158fd8c76fb6681a2da5b11518309f0b651814160df1711659ed37fd588ca444bcc483fb74b803bff202e18ad129b8352ed9f5e807d5494dca91f7b6b7af756286916d341a91556fb564145e29dc96e114a9File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| test: test_mssql test_pgsql | ||
| test_mssql: | ||
| docker compose --progress plain -f docker-compose.mssql.yml run test | ||
| test_pgsql: | ||
| docker compose --progress plain -f docker-compose.pgsql.yml run test |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3,6 +3,7 @@ package sqlcode | ||
| import ( | ||
| "context" | ||
| "database/sql" | ||
| "database/sql/driver" | ||
| ) | ||
| type DB interface { | ||
| @@ -11,6 +12,7 @@ type DB interface { | ||
| QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row | ||
| Conn(ctx context.Context) (*sql.Conn, error) | ||
| BeginTx(ctx context.Context, txOptions *sql.TxOptions) (*sql.Tx, error) | ||
| Driver() driver.Driver | ||
| ||
| } | ||
| var _ DB = &sql.DB{} | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: The cli module is not yet compatible with postgres.