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 1
1
# Schema modification
2
2
3
- DinoSQL understands ` ALTER TABLE ` statements when parsing SQL.
3
+ sqlc understands ` ALTER TABLE ` statements when parsing SQL.
4
4
5
5
``` sql
6
6
CREATE TABLE authors (
Original file line number Diff line number Diff line change 1
1
# Goose
2
2
3
- DinoSQL will ignore rollback statements when parsing
3
+ sqlc will ignore rollback statements when parsing
4
4
[ Goose] ( https://github.com/pressly/goose ) migrations.
5
5
6
6
``` sql
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ CREATE TABLE authors (
7
7
);
8
8
```
9
9
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
11
11
the column name in the database.
12
12
13
13
``` go
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ SELECT * FROM records
10
10
WHERE id = $1 ;
11
11
```
12
12
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
14
14
with transactions.
15
15
16
16
``` go
Original file line number Diff line number Diff line change 1
1
# Returning values
2
2
3
- DinoSQL has full support for the ` RETURNING ` statement.
3
+ sqlc has full support for the ` RETURNING ` statement.
4
4
5
5
``` sql
6
6
CREATE TABLE authors (
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ CREATE TABLE records (
7
7
```
8
8
9
9
The 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.
11
11
12
12
``` go
13
13
package db
You can’t perform that action at this time.
0 commit comments