1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
Source: golang-gopkg-pg.v5
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Sascha Steinbiss <satta@debian.org>
Build-Depends: debhelper (>= 11),
dh-golang,
golang-any,
golang-github-jinzhu-inflection-dev,
golang-ginkgo-dev,
golang-gomega-dev,
golang-gopkg-check.v1-dev
Standards-Version: 4.1.4
Homepage: https://github.com/go-pg/pg
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-gopkg-pg.v5
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-gopkg-pg.v5.git
XS-Go-Import-Path: gopkg.in/pg.v5
Package: golang-gopkg-pg.v5-dev
Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
golang-github-jinzhu-inflection-dev,
golang-ginkgo-dev,
golang-gomega-dev,
golang-gopkg-check.v1-dev
Description: PostgreSQL client and ORM for Golang
Go-pg is a convenient PostgreSQL client and ORM for Golang with the
following features:
.
- Basic types: integers, floats, string, bool, time.Time.
sql.NullBool, sql.NullString, sql.NullInt64,
sql.NullFloat64 and pg.NullTime
- sql.Scanner and sql/driver.Valuer interfaces
- Structs, maps and arrays are marshalled as JSON by default
- PostgreSQL multidimensional Arrays using array tag and Array wrapper
- Hstore using hstore tag and Hstore wrapper
- All struct fields are nullable by default and zero values (empty string,
0, zero time) are marshalled as SQL NULL. ``sql:",notnull"` is used to
reverse this behaviour
- Transactions
- Prepared statements
- Notifications using LISTEN and NOTIFY
- Copying data using COPY FROM and COPY TO
- Timeouts
- Automatic connection pooling
- Queries retries on network errors
- Working with models using ORM and SQL
- Scanning variables using ORM and SQL
- SelectOrInsert using on-conflict
- INSERT ... ON CONFLICT DO UPDATE using ORM
- Common table expressions using WITH and WrapWith
- CountEstimate using EXPLAIN to get estimated number of matching rows
- HasOne, BelongsTo, HasMany and ManyToMany-
- Creating tables from structs
- Migrations
- Sharding
|