Comments (2)
I agree. I used PostgreSQLArrayCustomConvertible
, and now it's been stripped away and the mechanism is moved into PostgreSQLValueEncoder
and PostgreSQLDataDecoder
- I was wondering if there's a reason why it cannot exist alongside the new refactor.
from postgres-nio.
Both Array
and Set
are now supported by default. For custom types, you can conform to PostgresDataConvertible
.
Relevant source:
- https://github.com/vapor/postgres-nio/blob/master/Sources/PostgresNIO/Data/PostgresData%2BSet.swift
- https://github.com/vapor/postgres-nio/blob/master/Sources/PostgresNIO/Data/PostgresData%2BArray.swift
from postgres-nio.
Related Issues (20)
- Prepared queries encoding/decoding error
- Return the metadata for prepared queries
- SSL/TLS Handshake fails to AWS hosted postgres DB HOT 3
- Passing connection options for database HOT 7
- Arrays with `NULL` values get encoded/decoded incorrectly
- Permanent connection deadlock on many concurrent requests HOT 1
- Error or just bad coding on my part HOT 2
- Support Types that have a dynamic Postgres type HOT 4
- Rename `PostgresNonThrowingEncodable` -> `PostgresEncodable`
- Problems trying to read a JSONB column HOT 10
- Miscompile causing segfault within ConnectionStateMachine.avoidingStateMachineCoW() in nightly and 5.9 pre-release toolchains HOT 3
- Crash when using 'SET statement_timeout=x' HOT 2
- Respect RowDescription.dataTypeModifier where appropriate
- Make the PSQLError description more useful HOT 2
- `PostgresConnection.close()` should just close the connection
- PostgresNIO.PSQLError (backing: PostgresNIO.PSQLError. (unknown context at $10160e44c). Backing) HOT 2
- Attempted re-use of already closed connection HOT 5
- Error detail regression HOT 40
- async/await prepared statement API
- Allow PostgresConnection creation without specifying an EventLoop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgres-nio.