Comments (5)
Trying to figure out the same thing, can you give an example that worked? Thanks.
from faraday.
(dyn/query *cred* "sometable" {:id [:eq ["someid"]]})
from faraday.
Hi Ulrik, funge:
Have just pushed v0.13.0
which adds a docstring example to both scan
and query
to show how the condition format works. Have also made the format a little more flexible, so you can now specify the above as (dyn/query *cred* "sometable" {:id [:eq "someid"]})
(i.e. you can drop the inner vector when there's only a single val).
Hope that helps - just shout if you're still having any trouble or if the docs could be further improved (PRs also welcome).
Cheers! :-)
from faraday.
Yep, 0.13.0 works fine without a vector. Thanks!
from faraday.
Great - thanks!
On Oct 9, 2013, at 12:34 AM, Peter Taoussanis [email protected] wrote:
Hi Ulrik, funge:
Have just pushed v0.13.0 which adds a docstring example to both scan and query to show how the condition format works. Have also made the format a little more flexible, so you can now specify the above as (dyn/query cred "sometable" {:id [:eq "someid"]}) (i.e. you can drop the inner vector when there's only a single val).
Hope that helps - just shout if you're still having any trouble or if the docs could be further improved (PRs also welcome).
Cheers! :-)
—
Reply to this email directly or view it on GitHub.
from faraday.
Related Issues (20)
- Add support for the document API HOT 1
- CI integration HOT 5
- Remove support for `:expected` HOT 3
- attribute_not_exists not respected consistently HOT 3
- Support for Streams HOT 8
- missing ScanIndexForward option with far/scan HOT 1
- Request: custom keywordization routine HOT 3
- Is the scan function safe for large tables? HOT 7
- Upgrade to 1.11.16+ of aws-sdk-java for task-level IAM role support in AWS ECS HOT 9
- Add support for DynamoDB Transactions HOT 6
- Upgrade to 1.11.459 of aws-sdk-java for management of On Demand tables
- Upload all doc versions to http://taoensso.github.io/faraday/{version}
- Porting to AWS SDK v2 HOT 16
- missing page-size/max-result-size option with query HOT 1
- Support empty strings HOT 4
- not listing tables HOT 14
- Setting `region` in client-opts causes ClassCastException
- String index names cause type error HOT 3
- Local docker example from readme only with `-p 8000:8000` arg HOT 1
- Possibly confusing dependencies found HOT 3
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 faraday.