postgres-nio
๐ Non-blocking, event-driven Swift client for PostgreSQL.
File Explorer
Download Latest Version (.zip)- api-docs.yml
- test.yml
- CODEOWNERS
- contributing.md
- dependabot.yml
- ConnectionPoolBenchmarks.swift
- .gitignore
- Package.swift
- generate-postgresrow-multi-decode.sh
- generate-postgresrowsequence-multi-decode.sh
- Birthdays.swift
- DynamicDatabaseExplorer.swift
- PostgresClient.swift
- ConnectionIDGenerator.swift
- ConnectionLease.swift
- ConnectionPool.swift
- ConnectionPoolError.swift
- ConnectionPoolObservabilityDelegate.swift
- ConnectionRequest.swift
- Max2Sequence.swift
- NIOLock.swift
- NIOLockedValueBox.swift
- NoKeepAliveBehavior.swift
- PoolStateMachine+ConnectionGroup.swift
- PoolStateMachine+ConnectionState.swift
- PoolStateMachine+RequestQueue.swift
- PoolStateMachine.swift
- TinyFastSequence.swift
- MockClock.swift
- MockConnection.swift
- MockConnectionFactory.swift
- MockPingPongBehaviour.swift
- MockRequest.swift
- ConnectCancelHandler.swift
- PostgresConnection+Configuration.swift
- PostgresConnection+CopyFrom.swift
- PostgresConnection.swift
- PostgresDatabase+PreparedQuery.swift
- PostgresData+Array.swift
- PostgresData+Bool.swift
- PostgresData+Bytes.swift
- PostgresData+Date.swift
- PostgresData+Decimal.swift
- PostgresData+Double.swift
- PostgresData+Float.swift
- PostgresData+Int.swift
- PostgresData+JSON.swift
- PostgresData+JSONB.swift
- PostgresData+Numeric.swift
- PostgresData+Optional.swift
- PostgresData+RawRepresentable.swift
- PostgresData+Set.swift
- PostgresData+String.swift
- PostgresData+UUID.swift
- PostgresData.swift
- PostgresDataConvertible.swift
- PostgresDataType.swift
- PostgresRow.swift
- PostgresConnection+Configuration+Deprecated.swift
- PostgresData+UInt.swift
- PostgresMessage+Authentication.swift
- PostgresMessage+Bind.swift
- PostgresMessage+Close.swift
- PostgresMessage+CommandComplete.swift
- PostgresMessage+Describe.swift
- PostgresMessage+Execute.swift
- PostgresMessage+ParameterDescription.swift
- PostgresMessage+ParameterStatus.swift
- PostgresMessage+Parse.swift
- PostgresMessage+Password.swift
- PostgresMessage+ReadyForQuery.swift
- PostgresMessage+SASLResponse.swift
- PostgresMessage+SimpleQuery.swift
- PostgresMessage+SSLRequest.swift
- PostgresMessage+Startup.swift
- PostgresMessage+Sync.swift
- PostgresMessage+Terminate.swift
- PostgresMessageDecoder.swift
- PostgresMessageEncoder.swift
- vapor-postgresnio-logo.svg
- coding.md
- deprecated.md
- index.md
- listen.md
- migrations.md
- prepared-statement.md
- running-queries.md
- theme-settings.json
- PostgresMessage+0.swift
- PostgresMessage+BackendKeyData.swift
- PostgresMessage+DataRow.swift
- PostgresMessage+Error.swift
- PostgresMessage+Identifier.swift
- PostgresMessage+NotificationResponse.swift
- PostgresMessage+RowDescription.swift
- PostgresMessageType.swift
- AuthenticationStateMachine.swift
- CloseStateMachine.swift
- ConnectionStateMachine.swift
- ExtendedQueryStateMachine.swift
- ListenStateMachine.swift
- PreparedStatementStateMachine.swift
- RowStreamStateMachine.swift
- Array+PostgresCodable.swift
- Bool+PostgresCodable.swift
- Bytes+PostgresCodable.swift
- Date+PostgresCodable.swift
- Decimal+PostgresCodable.swift
- Float+PostgresCodable.swift
- Int+PostgresCodable.swift
- JSON+PostgresCodable.swift
- PostgresDataType+PostgresCodable.swift
- Range+PostgresCodable.swift
- RawRepresentable+PostgresCodable.swift
- String+PostgresCodable.swift
- UUID+PostgresCodable.swift
- AnyErrorContinuation.swift
- ByteBuffer+PSQL.swift
- Logging+PSQL.swift
- Authentication.swift
- BackendKeyData.swift
- CopyInMessage.swift
- DataRow.swift
- ErrorResponse.swift
- NotificationResponse.swift
- ParameterDescription.swift
- ParameterStatus.swift
- ReadyForQuery.swift
- RowDescription.swift
- NotificationListener.swift
- PostgresBackendMessage.swift
- PostgresBackendMessageDecoder.swift
- PostgresCell.swift
- PostgresChannelHandler.swift
- PostgresCodable.swift
- PostgresColumns.swift
- PostgresFrontendMessageEncoder.swift
- PostgresNotificationSequence.swift
- PostgresQuery.swift
- PostgresRowSequence.swift
- PostgresTransactionError.swift
- PreparedStatement.swift
- PSQLError.swift
- PSQLEventsHandler.swift
- PSQLPreparedStatement.swift
- PSQLRowStream.swift
- PSQLTask.swift
- VariadicGenerics.swift
- ConnectionFactory.swift
- PostgresClient.swift
- PostgresClientMetrics.swift
- Exports.swift
- NIOUtils.swift
- PostgresError+Code.swift
- PostgresError.swift
- PostgresJSONDecoder.swift
- PostgresJSONEncoder.swift
- SASLAuthentication+SCRAM-SHA256.swift
- SASLAuthenticationManager.swift
- Postgres+PSQLCompat.swift
- PostgresDatabase+Query.swift
- PostgresDatabase+SimpleQuery.swift
- PostgresDatabase.swift
- PostgresRequest.swift
- MockTimerCancellationToken.swift
- Future.swift
- ConnectionIDGeneratorTests.swift
- ConnectionPoolTests.swift
- ConnectionRequestTests.swift
- Max2SequenceTests.swift
- NoKeepAliveBehaviorTests.swift
- PoolStateMachine+ConnectionGroupTests.swift
- PoolStateMachine+ConnectionStateTests.swift
- PoolStateMachine+RequestQueueTests.swift
- PoolStateMachineTests.swift
- TinyFastSequenceTests.swift
- AsyncTests.swift
- PerformanceTests.swift
- PostgresClientTests.swift
- PostgresDataTypeTests.swift
- PostgresNIOTests.swift
- PSQLIntegrationTests.swift
- Utilities.swift
- PostgresData+JSONTests.swift
- PostgresMessageDecoderTests.swift
- AuthenticationStateMachineTests.swift
- ConnectionStateMachineTests.swift
- ExtendedQueryStateMachineTests.swift
- ListenStateMachineTests.swift
- PreparedStatementStateMachineTests.swift
- PrepareStatementStateMachineTests.swift
- Array+PSQLCodableTests.swift
- Bool+PSQLCodableTests.swift
- Bytes+PSQLCodableTests.swift
- Date+PSQLCodableTests.swift
- Decimal+PSQLCodableTests.swift
- Float+PSQLCodableTests.swift
- Int+PSQLCodableTests.swift
- JSON+PSQLCodableTests.swift
- PostgresDataType+PSQLCodableTests.swift
- Range+PSQLCodableTests.swift
- RawRepresentable+PSQLCodableTests.swift
- String+PSQLCodableTests.swift
- UUID+PSQLCodableTests.swift
- ByteBuffer+Utils.swift
- ConnectionAction+TestUtils.swift
- PostgresFrontendMessage.swift
- PSQLBackendMessageEncoder.swift
- PSQLFrontendMessageDecoder.swift
- ReverseByteToMessageHandler.swift
- ReverseMessageToByteHandler.swift
- AuthenticationTests.swift
- BackendKeyDataTests.swift
- BindTests.swift
- CancelTests.swift
- CloseTests.swift
- CopyTests.swift
- DataRowTests.swift
- DescribeTests.swift
- ErrorResponseTests.swift
- ExecuteTests.swift
- NotificationResponseTests.swift
- ParameterDescriptionTests.swift
- ParameterStatusTests.swift
- ParseTests.swift
- PasswordTests.swift
- ReadyForQueryTests.swift
- RowDescriptionTests.swift
- SASLInitialResponseTests.swift
- SASLResponseTests.swift
- SSLRequestTests.swift
- StartupTests.swift
- PostgresCellTests.swift
- PostgresChannelHandlerTests.swift
- PostgresClientTests.swift
- PostgresCodableTests.swift
- PostgresConnectionTests.swift
- PostgresErrorTests.swift
- PostgresQueryTests.swift
- PostgresRowSequenceTests.swift
- PostgresRowTests.swift
- PSQLBackendMessageTests.swift
- PSQLFrontendMessageTests.swift
- PSQLMetadataTests.swift
- PSQLRowStreamTests.swift
- PostgresJSONCodingTests.swift
- Utilities.swift
- .gitignore
- .spi.yml
- docker-compose.yml
- LICENSE
- NOTICE.txt
- Package.swift
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/vapor/postgres-nio
Downloads the entire project code from GitHub to your computer.
cd postgres-nio
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up -d --build
Builds and starts all defined containers (server, database, etc.) at once, in the background.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
