Comments (2)
I just discovered this so I haven't tried it, but just to speculate. The results of a "by clause" query will be a keyed table, not a normal table, so maybe node-q doesn't handle that properly. Have you tried something as simple as putting "0!" in front of the query to remove the key - it will make the result a normal table which node-q may have more luck with.
A keyed table in Q is actually represented as a dictionary, the key of which is a table representing the cols / rows of the key, the value of the result dictionary is also a table, representing the values on the keyed table.
from node-q.
I fixed one bug associated with this (use version 1.1.1). A keyed table is now (as c.js does) turned into an Array of size 2 where the first element contains the keys and the second contains the values. Each is an array of objects.
But the question that remains open is how should a keyed table be turned into JavaScript because we don't have a very useful data structure to use. Any ideas on that?
from node-q.
Related Issues (20)
- Unicode string turns into a messy code HOT 5
- Typed - functional select HOT 3
- Localtime is assumed to be UTC.. HOT 11
- make upd function configurable HOT 1
- Error at .deserialize when inserting to table HOT 6
- Precision error on real (explicit) type: HOT 3
- Calling upd with tablular data HOT 2
- Errors not returned when using conn.ks HOT 2
- Serialiser does not escape the null character in strings, causing badmsg error HOT 1
- Dates reduced by a few nanoseconds when sent to KDB HOT 9
- BigInt for long HOT 1
- backtick escape issue for symbol HOT 3
- Logging Q query output HOT 1
- Type Definition Errors HOT 1
- Infinty for different data types HOT 4
- problem with the net module when used inside react app HOT 1
- 同学,您这个项目引入了99个开源组件,存在20个漏洞,辛苦升级一下
- How can I connect with TLS, but without verification? HOT 1
- Cannot use TLS when using Typescript as the typings file is not accurate HOT 1
- Incorrect timestamp values inserted
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 node-q.