Comments (8)
Hey @nikhilhasija -- Wouldn't it be best if you just used the following example to return all records given a specific partition key?
https://www.windowsazure.com/en-us/develop/nodejs/how-to-guides/table-services/#query-set-entities
from azure-sdk-for-node.
We can close this issue -- if @nikhilhasija has another use case that the above example doesn't solve, we can re-open.
from azure-sdk-for-node.
Although you are correct Jaime, I think that we could indeed probably be flexible here. whereKeys was indeed designed having in mind the query single entity flow, but we could extend it to be flexible and adjust "automagically" the query in case, both, only one or none of the keys (Partition / Row) is provided.
Would you agree Jaime ?
from azure-sdk-for-node.
+1 on that @andrerod -- Hint hint to the community to land this feature + tests ;)
from azure-sdk-for-node.
Thanks @andrerod I support it :)
I think most of the time, the way I am designing my interfaces, PartitionKey is extracted from the data and often there is no where clause (although a where clause simply filters it down further). When I looked at the code, it seemed that making a call using only whereKeys may be more efficient that building a where clause (few ticks but in node i try to avoid, any compute necessary).
Also there is a matter of convention causing confusion.. In node.js variable convention the partition key is referred to as 'partitionKey' while in Azure tables it is 'PartitionKey'... moving the query to a where clause took me a while to decipher as why my data was not showing up as I was using 'partitionKey eq ?' erroneously...
from azure-sdk-for-node.
Glad you guys aprove :-) If no one else takes this, expect some updates after the holidays.
from azure-sdk-for-node.
Fixed.
from azure-sdk-for-node.
Awesome.
On Mar 15, 2012, at 5:09 PM, Andr Rodrigues wrote:
Fixed.
Reply to this email directly or view it on GitHub:
#16 (comment)
from azure-sdk-for-node.
Related Issues (20)
- Vulnerability in Validator JS HOT 1
- ReDoS vulnerability in validator js HOT 1
- Critical Component Governance Vulnerability in json-schema 0.2.3 in ms-rest HOT 2
- I want to generate a video meeting link. Does this lib supports video calling? HOT 1
- Vulnerability - Json Schema Prototype Pollution HOT 2
- Vulnerability - Inefficient Regular Expression Complexity in validator.js HOT 1
- ChainAlert: new npm maintainer has published version 2.5.5 of package ms-rest HOT 2
- CDK for infrastructure as code HOT 6
- Vulnerability - Inefficient Regular Expression Complexity in validator.js - still apparent in azure-sb latest version
- Cannot verify a JWT token via EC Key HOT 3
- data-model-dependency-telemetry does not support type: "ServiceBus" HOT 1
- npm audit reported about a vulnerability in "async" dependency HOT 2
- How to extend message lock duration in nodejs? HOT 2
- Pass --allow-no-subscriptions to loginWithServicePrincipalSecret HOT 5
- This repo is missing important files
- error HOT 2
- This repo is missing a license file HOT 1
- Local git deployment does not synchronously delete files (Linux webapp) HOT 5
- Local git deployment does not synchronously delete files (Linux webapp) HOT 1
- Deprecated npm request package used HOT 8
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 azure-sdk-for-node.