abstract-sql-compiler's People
Forkers
antokaneshabstract-sql-compiler's Issues
Dependency Dashboard
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Awaiting Schedule
These updates are awaiting their schedule. Click on a checkbox to get an update now.
- Lock file maintenance
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Detected dependencies
github-actions
.github/workflows/flowzone.yml
npm
package.json
@balena/sbvr-types ^7.0.1
lodash ^4.17.21
@balena/lf-to-abstract-sql ^5.0.0
@balena/lint ^8.0.0
@balena/odata-parser ^3.0.0
@balena/odata-to-abstract-sql ^6.0.1
@balena/sbvr-parser ^1.4.3
@types/chai ^4.3.4
@types/common-tags ^1.8.1
@types/lodash ^4.14.192
@types/mocha ^10.0.1
@types/node ^20.0.0
chai ^4.3.7
common-tags ^1.8.2
husky ^9.0.0
lint-staged ^15.0.0
mocha ^10.2.0
ts-node ^10.9.1
typescript ^5.4.3
node >=16.13.0
npm >=8.1.0
Dependency Dashboard
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Detected dependencies
github-actions
.github/workflows/flowzone.yml
npm
package.json
@balena/sbvr-types ^5.0.0
lodash ^4.17.21
@balena/lf-to-abstract-sql ^5.0.0
@balena/lint ^6.2.2
@balena/odata-parser ^2.4.6
@balena/odata-to-abstract-sql ^6.0.1
@balena/sbvr-parser ^1.4.3
@types/chai ^4.3.4
@types/common-tags ^1.8.1
@types/lodash ^4.14.192
@types/mocha ^10.0.1
@types/node ^18.15.11
chai ^4.3.7
common-tags ^1.8.2
husky ^8.0.3
lint-staged ^13.2.1
mocha ^10.2.0
ts-node ^10.9.1
typescript ^5.0.4
node >=16.13.0
npm >=8.1.0
Exception thrown from AbstractSqlCompiler when compiling the schema
Exception is:
Error fetching referenced fields ReferenceError: AbstractSQLCompiler is not defined
at Object.compileSchema (/usr/src/app/node_modules/@resin/abstract-sql-compiler/AbstractSQLCompiler.js:246:32)
See https://github.com/resin-io-modules/abstract-sql-compiler/pull/3/files#r119594133
Multiply operator should correctly wrap arguments in brackets
As the title say, Multiply
operator should correctly wrap arguments.
e.g.:
'Multiply',
[
'Multiply',
['ReferencedField', 'credit bundle', 'unit cost'],
['ReferencedField', 'credit bundle', 'original quantity'],
],
[
'Subtract',
['Number', 1],
[
'ReferencedField',
'credit bundle',
'discount percentage',
],
]
should return : ("credit bundle"."unit cost" * "credit bundle"."original quantity") * (1 - "credit bundle"."discount percentage")
but returns: "credit bundle"."unit cost" * "credit bundle"."original quantity" * 1 - "credit bundle"."discount percentage"
e.g. code : https://github.com/balena-io/balena-api/pull/4037/files#r1083707092
Feature: Support for SQL statement `CASE/WHEN/ELSE/END`
It would be good if the library supported the CASE/WHEN/ELSE/END
query command.
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.