File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# Schema modification
22
3- DinoSQL understands ` ALTER TABLE ` statements when parsing SQL.
3+ sqlc understands ` ALTER TABLE ` statements when parsing SQL.
44
55``` sql
66CREATE TABLE authors (
Original file line number Diff line number Diff line change 11# Goose
22
3- DinoSQL will ignore rollback statements when parsing
3+ sqlc will ignore rollback statements when parsing
44[ Goose] ( https://github.com/pressly/goose ) migrations.
55
66``` sql
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ CREATE TABLE authors (
77);
88```
99
10- DinoSQL can generate structs with JSON tags. The JSON name for a field matches
10+ sqlc can generate structs with JSON tags. The JSON name for a field matches
1111the column name in the database.
1212
1313``` go
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ SELECT * FROM records
1010WHERE id = $1 ;
1111```
1212
13- DinoSQL has an option to use perpared queries. These prepared queries also work
13+ sqlc has an option to use perpared queries. These prepared queries also work
1414with transactions.
1515
1616``` go
Original file line number Diff line number Diff line change 11# Returning values
22
3- DinoSQL has full support for the ` RETURNING ` statement.
3+ sqlc has full support for the ` RETURNING ` statement.
44
55``` sql
66CREATE TABLE authors (
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ CREATE TABLE records (
77```
88
99The Go standard library does not come with a ` uuid ` package. For UUID support,
10- DinoSQL uses the excellent ` github.com/google/uuid ` package.
10+ sqlc uses the excellent ` github.com/google/uuid ` package.
1111
1212``` go
1313package db
You can’t perform that action at this time.
0 commit comments