vendor dependencies with dep
This commit is contained in:
parent
93d8310491
commit
1384296a47
2712 changed files with 965742 additions and 0 deletions
33
vendor/github.com/go-pg/pg/CHANGELOG.md
generated
vendored
Normal file
33
vendor/github.com/go-pg/pg/CHANGELOG.md
generated
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Changelog
|
||||
|
||||
## v6
|
||||
|
||||
- `types.Result` is renamed to `orm.Result`.
|
||||
- Added `OnQueryProcessed` event that can be used to log / report queries timing. Query logger is removed.
|
||||
- `orm.URLValues` is renamed to `orm.URLFilters`. It no longer adds ORDER clause.
|
||||
- `orm.Pager` is renamed to `orm.Pagination`.
|
||||
- Support for net.IP and net.IPNet.
|
||||
- Support for context.Context.
|
||||
- Bulk/multi updates.
|
||||
- Query.WhereGroup for enclosing conditions in paretheses.
|
||||
|
||||
## v5
|
||||
|
||||
- All fields are nullable by default. `,null` tag is replaced with `,notnull`.
|
||||
- `Result.Affected` renamed to `Result.RowsAffected`.
|
||||
- Added `Result.RowsReturned`.
|
||||
- `Create` renamed to `Insert`, `BeforeCreate` to `BeforeInsert`, `AfterCreate` to `AfterInsert`.
|
||||
- Indexed placeholders support, e.g. `db.Exec("SELECT ?0 + ?0", 1)`.
|
||||
- Named placeholders are evaluated when query is executed.
|
||||
- Added Update and Delete hooks.
|
||||
- Order reworked to quote column names. OrderExpr added to bypass Order quoting restrictions.
|
||||
- Group reworked to quote column names. GroupExpr added to bypass Group quoting restrictions.
|
||||
|
||||
## v4
|
||||
|
||||
- `Options.Host` and `Options.Port` merged into `Options.Addr`.
|
||||
- Added `Options.MaxRetries`. Now queries are not retried by default.
|
||||
- `LoadInto` renamed to `Scan`, `ColumnLoader` renamed to `ColumnScanner`, LoadColumn renamed to ScanColumn, `NewRecord() interface{}` changed to `NewModel() ColumnScanner`, `AppendQuery(dst []byte) []byte` changed to `AppendValue(dst []byte, quote bool) ([]byte, error)`.
|
||||
- Structs, maps and slices are marshalled to JSON by default.
|
||||
- Added support for scanning slices, .e.g. scanning `[]int`.
|
||||
- Added object relational mapping.
|
||||
Loading…
Add table
Add a link
Reference in a new issue