Documentation
¶
Overview ¶
Package postgres provides Laravel's PostgreSQL driver, built on pgx. Register Driver in your application options to connect to postgres:// and postgresql:// URLs:
laravel.Options{
Drivers: []db.Driver{postgres.Driver},
}
Connections default to the UTC session time zone unless the URL sets a timezone parameter, encode timestamps in UTC, and reject fractional floats bound to integer parameters instead of silently truncating them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Driver db.Driver = driver{}
Driver is the db.Driver implementation for PostgreSQL databases.
Functions ¶
This section is empty.
Types ¶
This section is empty.