40 Commits

Author SHA1 Message Date
Jim LAURIE
a23fe2c307 Remove relations route from bookshelf template 2019-01-06 15:17:59 +01:00
Jim LAURIE
03c1e04d87 Revert filter PR 2018-12-04 17:05:03 +01:00
Jim LAURIE
954a6d321a
Fix indent 2018-11-21 16:47:01 +01:00
Kamal Bennani
957368b8b2
Add a support of deep filter in bookshelf 2018-10-28 23:44:38 +01:00
Kamal Bennani
5bdb5c25e0
use stage functions from the relation file 2018-10-28 23:42:22 +01:00
Kamal Bennani
83da9fa38a
[Bugfix] take the correct localField when having a manyToOne RS 2018-10-28 23:42:19 +01:00
Kamal Bennani
ff0a87df7a
Update Bookshelf/Mongoose service template to support relation attribute filtering 2018-10-28 23:42:18 +01:00
Nick Verwymeren
d123b14ae5
Fixes issues when doing an 'IN' query
When doing an 'IN' query it looks like this will incorrectly loop over the values and put them into multiple where clauses. This additional check on the symbol should leave the array untouched and pass it on into the orm for processing.
2018-10-17 11:50:43 -05:00
Jim LAURIE
870b31ce5c Fix typo update bookshelf service 2018-10-04 17:17:25 +02:00
Alberto Maturano
154fc28a57 Normalize to standar file permissions
As a result of taking a look on PR #1967 I realized there is 819
executable files in this repository. It is obvious this is an error.
2018-09-24 12:33:09 -05:00
Jim LAURIE
cf8184e223 Use hook prefix and rename 2018-07-11 16:23:14 +02:00
Jim LAURIE
d09b0b1550 API search bookshelf 2018-07-05 11:28:55 +02:00
Jim LAURIE
bde30af875 Fix delete SQL entry with relations fix #1419 2018-06-21 19:42:03 +02:00
Okaris
d5cca40270 Added count to api template for bookshelf 2018-06-01 08:16:54 +03:00
Aurelsicoko
7e7b0f1d2f Move relation management into a separate file for Bookshelf 2018-05-09 16:08:58 +02:00
Aurelsicoko
73764d6ae0 Add containss in Bookshelf filters 2018-04-12 15:44:04 +02:00
Aurelsicoko
b6ef82be83 Update generated controller to make them compatible with GraphQL 2018-04-10 12:26:44 +02:00
Jim Laurie
e8181a397f Review bookshelf filters
fix #863
2018-04-03 12:38:33 +02:00
Johann Pinson
49536526f8 Update model.template for bookshelf 2018-03-16 16:00:14 +01:00
Jim Laurie
084cb3c49e Fix PR feedback 2017-11-01 15:16:28 +01:00
Jim Laurie
4872051d26 Delete old relations service bookshelf 2017-10-31 11:41:54 +01:00
Jim Laurie
0a7b65be04 Remove relation on delete data bookshelf 2017-10-30 14:02:54 +01:00
Jim Laurie
dba7361c89 Handle relations on create data bookshelf 2017-10-27 20:10:37 +02:00
Jim Laurie
08970eee3e Handle manyToMany relations bookshelf by object 2017-10-27 18:22:58 +02:00
Jim Laurie
35b6a50810 Handle relation oneToMany dominant bookshelf 2017-10-26 17:21:23 +02:00
Aurélien GEORGET
a4ce1232d3 Merge pull request #271 from strapi/improvements/filters
API filters
2017-10-12 10:40:28 +02:00
Pierre Burgy
c50b400f8e Remove params reference 2017-10-11 17:30:08 +02:00
Aurelsicoko
f8cebb98f4 Lowercase attributes' names on API generated through the CLI 2017-10-11 12:08:04 +02:00
Aurelsicoko
59391c7a00 Enhance build command and fix generated service for Bookshelf 2017-10-10 19:34:15 +02:00
Pierre Burgy
05b2301c0b Minor syntax improvements 2017-10-10 15:14:20 +02:00
Jim Laurie
7bd5f1021e Fix conflicts 2017-09-28 13:18:36 +02:00
Jim Laurie
4a18fe6b13 Add bookshelf filters 2017-09-13 12:18:54 +02:00
Jim Laurie
be66effbc0 Add filter for mongoose 2017-09-12 17:58:31 +02:00
Jim Laurie
32ca703098 Handle errors and complete update model 2017-08-14 17:19:37 +02:00
aurelsicoko
8013990ee4 Remove tableName property in model and update defaults configurations 2017-07-28 16:31:23 +02:00
Pierre Burgy
17135196a5 Improve arguments handling for generators 2017-02-14 01:10:37 +01:00
Aurélien Georget
5b74588653 Update generated API && support aliases for Bookshelf 2017-01-11 17:53:40 +01:00
Aurélien Georget
b5c6ebc016 Allow to generate an API inside an existing API 2016-12-20 20:41:42 +01:00
Aurélien Georget
83ff64737a Update generated controller for Bookshelf's API 2016-12-02 12:28:20 +01:00
Aurélien Georget
cccb04fb94 Separate template per ORM, and add Mongoose API templates 2016-08-09 11:47:48 +02:00