Comments (4)
Okay, after some discussions, I think the plan will be to expose select parameters individually (override parameters causes nasty collision issues with existing helper functionality).
For example, you could append to existing conditions, and the condition expression would look kind of like:
"#{aws_record_condition_expression} AND (#{user_provided_condition_expression})"
..and then we would merge the expression attribute name and value hashes.
from aws-sdk-ruby-record.
#save
doesn't yet expose this functionality, but i think it should. The tricky part is how we want to expose the condition expression. I'm going to chew on this a bit - one possible option that solves this generically is maybe an :override_parameters
option that is passed in to save, that lets you override any of the underlying client parameters. In this manner, you could provide conditional expressions, or for that matter, alter any other underlying client option if you know what you're doing. It wouldn't preclude other params that do this in a higher level way either.
from aws-sdk-ruby-record.
Any update on this?
from aws-sdk-ruby-record.
We're going to work this in with smart query/scan support that I'm working on.
from aws-sdk-ruby-record.
Related Issues (20)
- Seahorse::Client::NetworkingError (SSL_connect returned=1 errno=0 state=error: wrong version number) HOT 6
- The '#find' command doesn't properly populate database_attribute_name if symbolized HOT 1
- Wrong documentation for assign_attributes HOT 1
- Query yielding heterogeneous results HOT 9
- Capacity used for iterating through a query's results HOT 2
- Is it possible to override table name? HOT 1
- Support DynamoDB Encryption feature HOT 4
- Support increment! and decrement! for atomic counters? HOT 2
- FrozenError When Building Query HOT 1
- Numeric type casting of attributes nested in maps HOT 7
- Support for creating cross-region replication?
- Support for BatchGetItem HOT 5
- Serialize to JSON HOT 1
- No All / Scan Operation? HOT 3
- Support for custom Update expressions HOT 2
- Configuration with a Single Table HOT 3
- Nested List Attributes & Type Casting HOT 2
- List of classes HOT 1
- How to query against local or global index? HOT 1
- "limit" on scan HOT 1
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 aws-sdk-ruby-record.