Comments (2)
Great questions.
What is current status of integration with Postgres?
The integration currently works for current needs however could use some performance improvements. This is namely true with write as PostgreSQL protocol requires grouping of 10,000's which is currently handled via base10 conversion to string followed by chunking. That being said, I'd like to see some more extremity testing around this feature before stabalization.
Another test that needs confirming is when scale and precision is provided on PostgreSQL and ensuring that the Decimal library correctly supports these. Tests are currently using the unlimited numeric type.
Is there any documentation about this feature?
Not yet. So long as the feature is in scope then the Postgres library implicity looks for FromSql
and ToSql
implementations. I'll create a new issue for documenting this feature as I think it could do with some.
Is there any restrictions of usage for current implementation?
There are no restrictions of usage. I'll probably look at duel licensing this library to remove confusion.
from rust-decimal.
I'm going to close this and look towards #137 and #138 to track issues. Please feel free to open it up again if need be and/or generate further tasks.
from rust-decimal.
Related Issues (20)
- serde-with-str - str_option does not work with bincode, unlike serde-str #483 HOT 1
- `to_f64` panics when scale is large HOT 3
- Opt-in, feature-gated `from_str_exact(...)` for the `serde::Deserialize` impls exported by the `rust_decimal::serde` module? HOT 3
- Debug prints to stdout appear when serializing using serde-with-str HOT 1
- Add support for use num_traits::cast::NumCast HOT 3
- bug: `to_str_internal` fails with large value
- cosine causes stack overflow for this value HOT 1
- [Documentation] Tolerance handling in `checked_exp_with_tolerance` method HOT 2
- Disabled optional weak dependencies like "borsh" are pulled in with default-features HOT 2
- Feature request: `Decimal::is_integer()` HOT 3
- Update borsh crate due to a security vulnerability issue. HOT 4
- Can't deserialize with `float_option` when null in an internally tagged enum HOT 3
- `trunc_with_scale` issue HOT 4
- `serde-arbitrary-precision` without `serde-float` HOT 7
- `is_integer` has BUG HOT 1
- How to serialize Decimal and still keep the results in order (bitwise comparison) HOT 3
- Serialization V2 - brainstorming HOT 1
- feature request: JSON schema support via https://github.com/GREsau/schemars HOT 1
- Feature Request: Support wasm_bindgen for Decimal
- rlp (de)serialization? HOT 2
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 rust-decimal.