postgres library
Classes
- Bounds
- Describes the bounds of PostgreSQL range types.
- Box
-
Describes PostgreSQL's geometric type:
box
. - Channels
- Circle
- Connection
- ConnectionSettings
-
ContinuousRange<
T> - Describes PostgreSQL's continuous builtin range types:
- DateRange
-
Describes PostgreSQL's builtin
daterange
- DateTimeRange
-
DiscreteRange<
T> - Endpoint
- EndpointSelection
-
EndpointSelectorContext<
L> - Interval
-
In Postgresql
interval
values are stored as months, days, and microseconds. This is done because the number of days in a month varies, and a day can have 23 or 25 hours if a daylight savings time adjustment is involved. - IntRange
-
Describes PostgreSQL's builtin
int4range
andint8range
- Line
-
Describes PostgreSQL's geometric type:
line
. - LineSegment
-
Describes PostgreSQL's geometric type:
lseg
. - LSN
- LSN is a PostgreSQL Log Sequence Number.
- Notification
- Represents a notification from the Postgresql server.
- Path
-
Describes PostgreSQL's geometric type:
path
. - Point
-
Describes PostgreSQL's geometric type:
point
. - Polygon
-
Describes PostgreSQL's geometric type:
polygon
. -
Pool<
L> -
A connection pool that may select endpoints based on the requested locality
L
of the data. - PoolSettings
-
Range<
T> - Result
- ResultRow
- ResultSchema
- ResultSchemaColumn
- ResultStream
- ResultStreamSubscription
-
Retry<
R> - The settings that control the retry of SessionExecutor.run and SessionExecutor.runTx methods.
- Session
- SessionExecutor
- SessionSettings
- Sql
- A description of a SQL query as interpreted by this package.
- Statement
- Time
-
Describes PostgreSQL's
time without time zone
type. - TransactionSettings
- The characteristics of the current transaction.
- TsQuery
-
The
tsquery
type represents a search query for text search. - TsVector
-
The
tsvector
data type stores a list of TsWords, lexemes with optional integer positions and weights. - TsWord
- A normalized word (lexeme), alongside with the positional information.
- TsWordPos
- A position normally indicates the source word's location in the document. Positional information can be used for proximity ranking. Position values can range from 1 to 16383; larger numbers are silently set to 16383. Duplicate positions for the same lexeme are discarded.
- TxSession
- A Session with transaction-related helper method(s).
-
Type<
T extends Object> - Supported data types.
-
TypedValue<
T extends Object> - TypeRegistry
- UndecodedBytes
- Describes a generic bytes string value..
Enums
- AccessMode
- The transaction access mode determines whether the transaction is read/write or read-only.
- Bound
- Describes PostgreSQL range bound state
- DeferrableMode
- The deferrable mode of the transaction.
- IsolationLevel
- The isolation level of a transaction determines what data the transaction can see when other transactions are running concurrently.
- QueryMode
- Options for the Query Execution Mode
- ReplicationMode
- Streaming Replication Protocol Options
- Severity
- The severity level of a PgException.
- SslMode
- TsWeight
- The weight of the TsWord.
Typedefs
-
EndpointSelector<
L> = FutureOr< EndpointSelection> Function(EndpointSelectorContext<L> context)
Exceptions / Errors
- BadCertificateException
- Exception thrown when server certificate validate failed.
- PgException
- Exception thrown by the package (client or server side).
- ServerException
- Exception thrown by the server.