Stanislav Oaserele
b57fba603a
Fixing pagination issue when using _p & _size
...
When using _p ang _size query params in URL, the first row is skipped.
Example:
_p = 1 & _size = 20
reqParams._index will be = (1 - 1) * 20 + 1 = 1;
Generated SQL will be SELECT * FROM ? LIMIT 1,20. This SQL skips first element (with index 0)
Correct SQL that should be generated is SELECT * FROM ? LIMIT 0,20
7 years ago
oof1lab
1054fc529b
Fix : cors middleware - #12
7 years ago
oof1lab
c9779e27bb
refactor : only join, left join and right join supported
7 years ago
oof1lab
881921461c
refactor : chart gets new querying way steppair
7 years ago
oof1lab
8bb91180e7
refactor : count api uses where condition
7 years ago
oof1lab
46eef2b5f5
refactor : move independent methods in xsql to data.helper
7 years ago
oof1lab
a29e82787b
refactor : move prepare methods to from api to sql class
7 years ago
oof1lab
d048221a89
Feature : xjoin API 🔥 🔥
...
npm v0.4.0
7 years ago
oof1lab
73090ab658
Feature : API Autochart 🔥 🔥
...
v npm 0.3.4
7 years ago
oof1lab
5d2030a089
Feature : Distinct API, npm v0.3.3
7 years ago
oof1lab
bf95f02c75
Feature : adding 'range' option to Chart API npm v0.3.1
7 years ago
oof1lab
7a2c5b3f62
Feature : Support VIEWS npm v0.2.7
7 years ago
oof1lab
21c57180e3
Feature : cmdline option ignore tables - to not generate/expose REST API for certain tables
7 years ago
oof1lab
fb97051753
Feature: Bulk insert, delete, read - npm v0.2.5
7 years ago
oof1lab
7f783a7347
API : Replace (PUT) in plural route and replace put with replace in singular route.
...
npm v0.2.4
7 years ago
oof1lab
16b4b7295f
API: Chart added v0.2.3
7 years ago
oof1lab
e72dee4b93
New API : Groups v0.2.2
7 years ago
oof1lab
a5410c0137
Features : adding findOne api v0.2.0
7 years ago
oof1lab
922224e570
Fix: tests
...
remove not required variable.
7 years ago
oof1lab
b913cf2d88
Refactor: keeping order by as params in query
7 years ago
oof1lab
aa63e3f4ab
Fix: turn all select statements to prepared queries.
7 years ago
oof1lab
a6d098cd5b
Feature addition: group by and having in query params
...
version : 0.1.0
7 years ago
oof1lab
7df4c93a30
Feature addition : WHERE clause
...
version 0.0.8
7 years ago
oof1lab
65bbf5655d
feature addition: aggregate functions
7 years ago
oof1lab
8ca85a98a5
feature addition: make file upload and download - available only in local
7 years ago
oof1lab
53a364ac3a
doc update: api group by + order by
7 years ago
oof1lab
61a0712cca
fix: route dynamic has same prefix as other routes
7 years ago
oof1lab
7c8b97bd13
feature: creating actual routes for each table instead of mapping from request params
...
version : 0.0.4
7 years ago
oof1lab
1b21367398
fix: dynamic url fix for root response
7 years ago
oof1lab
47c0742af5
fix: count url fix and updated readme for ROOT URL
7 years ago
oof1lab
67515e05df
first commit
7 years ago