Comments (7)
Thanks @GoranBrkuljan. We're building something at the moment quickly (releasing by end of month) that requires using both Duration
and Time
- do you have a rough idea of when you could get this out?
from charybdis.
Thank you very much and no worries, that's a good idea!
from charybdis.
Hi, sorry I know I'm opening a lot of issues.
Np, happy to assist.
Duration is not supported yet. I added it there for testing migrations, but forgot to remove it before we add support for it. We don't use native CqlDuration
as it doesn't have serde & default traits implemented that we want all of our types to have. We could fix this by introducing our wrapper tuple struct (newtype pattern) that will implement required traits pub struct Duration(value::CqlDuration)
. We did same thing for Counter.
For Time
your are right, will be fixed.
I will add support for both in next release.
from charybdis.
@617a7aa Later today, this as well as find_by_global_indexes
functions.
from charybdis.
Thank you so much 🙏
from charybdis.
updated with release: https://github.com/nodecosmos/charybdis/releases/tag/v0.4.17
from charybdis.
@617a7aa Note that in future version all of these functions will be updated to take references instead of owned values.
from charybdis.
Related Issues (20)
- TLS support HOT 3
- Missing find by secondary index HOT 6
- Can't find rows from just partition key HOT 3
- Composed Partition Keys in Materialized Views HOT 5
- Update field using GSI HOT 2
- Failed to type check Rust type uuid::Uuid against CQL type Timeuuid: expected one of the CQL types: [Uuid] HOT 2
- Enable delete by LSI HOT 2
- Find macro for materialised views HOT 4
- Empty set fails to deserialise back into empty hashset HOT 4
- Move charybdis::types into a separate feature/package HOT 3
- Update with a variable set of fields using MaybeUnset HOT 5
- Community resources HOT 2
- Custom types for migrations HOT 1
- Time to Live support HOT 5
- Proposal: a macro for expressions like WRITETIME(field)/TTL(field) HOT 3
- Macros aren't exported HOT 1
- Putting semi-colon in doc comments in models causes the macro to panic
- Feature: unconditional find
- Issue with stack overflow during CodeSchema build procedure 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 charybdis.