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
6c82d31d8d
publish : npm v0.4.1
7 years ago
oof1lab
1054fc529b
Fix : cors middleware - #12
7 years ago
oof1lab
ed9c9f754b
Refactor : separate class for controller
7 years ago
oof1lab
dac2796bb7
Feature : Option for api prefix in URL
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
85346e0b2e
Fix : handle ignore tables in xjoin api
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
719b8b2042
Feature : between in where clause npm v0.3.2
7 years ago
oof1lab
bf95f02c75
Feature : adding 'range' option to Chart API npm v0.3.1
7 years ago
oof1lab
a165dcb779
Feature : 'is' operator in where clause npm v0.3.0
7 years ago
oof1lab
a33ae8595d
Feature : 'like' and 'not like' operators in where clause npm v0.2.9
7 years ago
oof1lab
087ce3b2e4
Feature : 'in' comparison operator in where clause npm v0.2.8
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
002477457b
doc : update
7 years ago
oof1lab
03a537da8e
doc : update
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
0d0b63c4a4
tests : apis /dynamic* and listing with where complicated clause
7 years ago
oof1lab
a5410c0137
Features : adding findOne api v0.2.0
7 years ago
oof1lab
d4ac1033e9
refactor : console prints
7 years ago
oof1lab
2d218b33bd
refactor : turning group fields as params
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
4235d39e0e
Refactor: keeping list funcs dry.
7 years ago
oof1lab
aa63e3f4ab
Fix: turn all select statements to prepared queries.
7 years ago
oof1lab
28d7c3bf8b
npm 0.1.8
7 years ago
oof1lab
b46aae27ac
for publishing to npm 0.1.6
7 years ago
oof1lab
7b61e79028
npm publish version 0.1.5
7 years ago
oof1lab
2fe828f2cb
Fix: package version
7 years ago
oof1lab
54d6a1ffae
Fix: reverting bin file to previous
7 years ago
oof1lab
333803ae99
Fix: reverting bin file.
7 years ago
oof1lab
a6d098cd5b
Feature addition: group by and having in query params
...
version : 0.1.0
7 years ago
oof1lab
5ae9ba9bf2
version : 0.0.9
7 years ago
oof1lab
d484ab3880
Fix : remove not required columns from query.
...
See https://github.com/o1lab/xmysql/issues/9
7 years ago
oof1lab
7df4c93a30
Feature addition : WHERE clause
...
version 0.0.8
7 years ago
oof1lab
ee3d65e17e
tests for where clause
7 years ago
oof1lab
9d016386e4
refactor : removing prints
7 years ago
oof1lab
b7b9cc3176
feature : where clause - work in progress
...
first cut, not getting invoked yet with apis
however unit tests are testing the logic of new file.
7 years ago
oof1lab
411b510955
fix: error handling
...
need more of this
7 years ago
oof1lab
65bbf5655d
feature addition: aggregate functions
7 years ago