1
1
![ sqlboiler logo] ( https://i.imgur.com/lMXUTPE.png )
2
2
3
- [ ![ License] ( https://img.shields.io/badge/license-BSD-blue.svg )] ( https://github.com/volatiletech /sqlboiler/blob/master/LICENSE )
4
- [ ![ GoDoc] ( https://img.shields.io/badge/godoc-reference-5272B4 )] ( https://pkg.go.dev/mod/github.com/volatiletech /sqlboiler/v4 )
3
+ [ ![ License] ( https://img.shields.io/badge/license-BSD-blue.svg )] ( https://github.com/aarondl /sqlboiler/blob/master/LICENSE )
4
+ [ ![ GoDoc] ( https://img.shields.io/badge/godoc-reference-5272B4 )] ( https://pkg.go.dev/mod/github.com/aarondl /sqlboiler/v4 )
5
5
[ ![ Slack] ( https://img.shields.io/badge/slack-%23general-lightgrey.svg )] ( https://sqlboiler.from-the.cloud )
6
- ![ ActionsCI] ( https://github.com/volatiletech /sqlboiler/workflows/test/badge.svg )
6
+ ![ ActionsCI] ( https://github.com/aarondl /sqlboiler/workflows/test/badge.svg )
7
7
[ ![ Go Report Card] ( https://goreportcard.com/badge/volatiletech/sqlboiler )] ( http://goreportcard.com/report/volatiletech/sqlboiler )
8
8
9
9
# Maintenance Mode
@@ -170,10 +170,10 @@ of that SQLBoiler also confers the following benefits:
170
170
171
171
| Database | Driver Location |
172
172
| ----------------- | --------------------------------------------------------------------------------------------------- |
173
- | PostgreSQL | [ https://github.com/volatiletech /sqlboiler/v4/drivers/sqlboiler-psql ] ( drivers/sqlboiler-psql ) |
174
- | MySQL | [ https://github.com/volatiletech /sqlboiler/v4/drivers/sqlboiler-mysql ] ( drivers/sqlboiler-mysql ) |
175
- | MSSQLServer 2012+ | [ https://github.com/volatiletech /sqlboiler/v4/drivers/sqlboiler-mssql ] ( drivers/sqlboiler-mssql ) |
176
- | SQLite3 | [ https://github.com/volatiletech /sqlboiler/v4/drivers/sqlboiler-sqlite3 ] ( drivers/sqlboiler-sqlite3 ) |
173
+ | PostgreSQL | [ https://github.com/aarondl /sqlboiler/v4/drivers/sqlboiler-psql ] ( drivers/sqlboiler-psql ) |
174
+ | MySQL | [ https://github.com/aarondl /sqlboiler/v4/drivers/sqlboiler-mysql ] ( drivers/sqlboiler-mysql ) |
175
+ | MSSQLServer 2012+ | [ https://github.com/aarondl /sqlboiler/v4/drivers/sqlboiler-mssql ] ( drivers/sqlboiler-mssql ) |
176
+ | SQLite3 | [ https://github.com/aarondl /sqlboiler/v4/drivers/sqlboiler-sqlite3 ] ( drivers/sqlboiler-sqlite3 ) |
177
177
| CockroachDB | https://github.com/glerchundi/sqlboiler-crdb |
178
178
179
179
** Note:** SQLBoiler supports out of band driver support so you can make your own
@@ -187,7 +187,7 @@ For a comprehensive list of available operations and examples please see [Featur
187
187
``` go
188
188
import (
189
189
// Import this so we don't have to use qm.Limit etc.
190
- . " github.com/volatiletech /sqlboiler/v4/queries/qm"
190
+ . " github.com/aarondl /sqlboiler/v4/queries/qm"
191
191
)
192
192
193
193
// Open handle to database like normal
@@ -309,16 +309,16 @@ Ensure you don't forget any /v suffixes or you'll end up on an old version.
309
309
310
310
``` shell
311
311
# Go 1.16 and above:
312
- go install github.com/volatiletech /sqlboiler/v4@latest
313
- go install github.com/volatiletech /sqlboiler/v4/drivers/sqlboiler-psql@latest
312
+ go install github.com/aarondl /sqlboiler/v4@latest
313
+ go install github.com/aarondl /sqlboiler/v4/drivers/sqlboiler-psql@latest
314
314
315
315
# Go 1.15 and below:
316
316
# Install sqlboiler v4 and the postgresql driver (mysql, mssql, sqlite3 also available)
317
317
# NOTE: DO NOT run this inside another Go module (like your project) as it will
318
318
# pollute your go.mod with a bunch of stuff you don't want and your binary
319
319
# will not get installed.
320
- GO111MODULE=on go get -u -t github.com/volatiletech /sqlboiler/v4
321
- GO111MODULE=on go get github.com/volatiletech /sqlboiler/v4/drivers/sqlboiler-psql
320
+ GO111MODULE=on go get -u -t github.com/aarondl /sqlboiler/v4
321
+ GO111MODULE=on go get github.com/aarondl /sqlboiler/v4/drivers/sqlboiler-psql
322
322
```
323
323
324
324
To install ` sqlboiler ` as a dependency in your project use the commands below
@@ -327,9 +327,9 @@ into your `go.mod` file at the correct version.
327
327
328
328
``` shell
329
329
# Do not forget the trailing /v4 and /v8 in the following commands
330
- go get github.com/volatiletech /sqlboiler/v4
330
+ go get github.com/aarondl /sqlboiler/v4
331
331
# Assuming you're going to use the null package for its additional null types
332
- go get github.com/volatiletech /null/v8
332
+ go get github.com/aarondl /null/v8
333
333
```
334
334
335
335
#### Configuration
@@ -462,7 +462,7 @@ generate models for, we can invoke the sqlboiler command line utility.
462
462
463
463
``` text
464
464
SQL Boiler generates a Go ORM from template files, tailored to your database schema.
465
- Complete documentation is available at http://github.com/volatiletech /sqlboiler
465
+ Complete documentation is available at http://github.com/aarondl /sqlboiler
466
466
467
467
Usage:
468
468
sqlboiler [flags] <driver>
@@ -1244,7 +1244,7 @@ safe, but be careful!
1244
1244
1245
1245
``` go
1246
1246
// Dot import so we can access query mods directly instead of prefixing with "qm."
1247
- import . " github.com/volatiletech /sqlboiler/v4/queries/qm"
1247
+ import . " github.com/aarondl /sqlboiler/v4/queries/qm"
1248
1248
1249
1249
// Use a raw query against a generated struct (Pilot in this example)
1250
1250
// If this query mod exists in your call, it will override the others.
@@ -1384,7 +1384,7 @@ in combination with your own custom, non-generated model.
1384
1384
1385
1385
### Binding
1386
1386
1387
- For a comprehensive ruleset for ` Bind() ` you can refer to our [ pkg.go.dev] ( https://pkg.go.dev/github.com/volatiletech /sqlboiler/v4/queries#Bind ) .
1387
+ For a comprehensive ruleset for ` Bind() ` you can refer to our [ pkg.go.dev] ( https://pkg.go.dev/github.com/aarondl /sqlboiler/v4/queries#Bind ) .
1388
1388
1389
1389
The ` Bind() ` [ Finisher] ( #finisher ) allows the results of a query built with
1390
1390
the [ Raw SQL] ( #raw-query ) method or the [ Query Builder] ( #query-building ) methods to be bound
@@ -1664,7 +1664,7 @@ tx.Rollback()
1664
1664
1665
1665
It's also worth noting that there's a way to take advantage of ` boil.SetDB() `
1666
1666
by using the
1667
- [ boil.BeginTx()] ( https://pkg.go.dev/github.com/volatiletech /sqlboiler/v4/boil#BeginTx )
1667
+ [ boil.BeginTx()] ( https://pkg.go.dev/github.com/aarondl /sqlboiler/v4/boil#BeginTx )
1668
1668
function. This opens a transaction using the globally stored database.
1669
1669
1670
1670
### Debug Logging
@@ -1739,7 +1739,7 @@ greylist in cases where you want to insert a Go zero value.
1739
1739
** NOTE:** CreatedAt/UpdatedAt are not included in ` Whitelist ` automatically.
1740
1740
1741
1741
See the documentation for
1742
- [ boil.Columns.InsertColumnSet] ( https://pkg.go.dev/github.com/volatiletech /sqlboiler/v4/boil/#Columns.InsertColumnSet )
1742
+ [ boil.Columns.InsertColumnSet] ( https://pkg.go.dev/github.com/aarondl /sqlboiler/v4/boil/#Columns.InsertColumnSet )
1743
1743
for more details.
1744
1744
1745
1745
``` go
@@ -1792,7 +1792,7 @@ documentation above for more details.
1792
1792
** NOTE:** CreatedAt/UpdatedAt are not included in ` Whitelist ` automatically.
1793
1793
1794
1794
See the documentation for
1795
- [ boil.Columns.UpdateColumnSet] ( https://pkg.go.dev/github.com/volatiletech /sqlboiler/v4/boil/#Columns.UpdateColumnSet )
1795
+ [ boil.Columns.UpdateColumnSet] ( https://pkg.go.dev/github.com/aarondl /sqlboiler/v4/boil/#Columns.UpdateColumnSet )
1796
1796
for more details.
1797
1797
1798
1798
``` go
@@ -2078,8 +2078,8 @@ You _must_ use a DSN flag in MySQL connections, see: [Requirements](#requirement
2078
2078
2079
2079
#### Where is the homepage?
2080
2080
2081
- The homepage for the [ SQLBoiler] ( https://github.com/volatiletech /sqlboiler ) [ Golang ORM] ( https://github.com/volatiletech /sqlboiler )
2082
- generator is located at: https://github.com/volatiletech /sqlboiler
2081
+ The homepage for the [ SQLBoiler] ( https://github.com/aarondl /sqlboiler ) [ Golang ORM] ( https://github.com/aarondl /sqlboiler )
2082
+ generator is located at: https://github.com/aarondl /sqlboiler
2083
2083
2084
2084
#### Why are the auto-generated tests failing?
2085
2085
@@ -2102,7 +2102,7 @@ errors relating to foreign key constraints.
2102
2102
2103
2103
## Benchmarks
2104
2104
2105
- If you'd like to run the benchmarks yourself check out our [ boilbench] ( https://github.com/volatiletech /boilbench ) repo.
2105
+ If you'd like to run the benchmarks yourself check out our [ boilbench] ( https://github.com/aarondl /boilbench ) repo.
2106
2106
2107
2107
``` bash
2108
2108
go test -bench . -benchmem
0 commit comments