Corentin H
|
6f88cf1930
|
handle deep geo-near queries (#1216)
a dedicated mongKey is added in geo.nearFilter for mongoDB
fixes geo min distance tests as filter now expects an array
|
2017-04-06 08:25:04 -04:00 |
Dimitris
|
2bfc769c4d
|
Using a filter with exclusion of a non existent property, removes an existing one (#1257)
* #fixes 1256
* Added missing check for returned error
* Fixed test to check proper fields in each doc
|
2017-03-20 19:18:48 -04:00 |
Kevin Delisle
|
248aaf0541
|
dao: catch errors on Model creation in find
|
2017-03-16 17:26:53 -04:00 |
Loay
|
557a2e48d2
|
Fix Order query test case
|
2017-03-15 14:45:36 -04:00 |
jannyHou
|
8b1100e3ed
|
Add test case for all connectors
|
2017-02-14 14:01:44 -05:00 |
Miroslav Bajtoš
|
b5d03b845f
|
Add two basic tests for "inq" operator
|
2017-01-19 13:33:39 +01:00 |
Siddhi Pai
|
3baa61590e
|
Fix block padding
* Remove test/.eslintrc
* run eslint . --fix
|
2016-12-13 16:05:50 -08:00 |
Miroslav Bajtoš
|
0f7a567f18
|
Upgrade eslint & config to latest
- eslint ^3.11.1
- eslint-config-loopback: ^6.0.0
- fix linter errors (mostly no-undef)
|
2016-12-05 15:14:09 +01:00 |
Nick Duffy
|
a23076d3a8
|
Add ilike and nilike operators
Closes #633
|
2016-10-12 18:31:31 -06:00 |
Amir Jafarian
|
aec678d252
|
Fix manually
|
2016-08-22 19:20:12 -04:00 |
Amir Jafarian
|
aa6d28268b
|
Auto-update by eslint --fix
|
2016-08-22 15:12:25 -04:00 |
Miroslav Bajtoš
|
699e0587d1
|
Ensure stable order of items in DAO.find()
When post-processing result of find operation, use "async.map"
instead of "async.each + array.push" to ensure the order of items
is preserved.
|
2016-07-13 14:55:49 +02:00 |
Miroslav Bajtoš
|
c7f34c3452
|
eslint config 2.0 + remove extra empty lines
Upgrade eslint-config-loopback to ^2.0.0.
Remove extra empty lines to make `npm run lint` pass again.
|
2016-04-19 16:11:43 +02:00 |
Miroslav Bajtoš
|
27c6279d6c
|
fix remaining eslint issues
|
2016-04-05 15:25:34 +02:00 |
Miroslav Bajtoš
|
39e04a1756
|
eslint --fix
|
2016-04-05 15:25:34 +02:00 |
Ryan Graham
|
c467b43c38
|
Insert copyright headers
|
2016-04-04 18:14:03 -07:00 |
Raymond Feng
|
682f6340d3
|
Optimze automigrate() to cut the test time signicantly
|
2015-08-27 15:59:58 -07:00 |
Simon Ho
|
57a9c40e16
|
Fix primary key checks
|
2015-08-27 13:59:43 -07:00 |
Simon Ho
|
cd71a37bfa
|
Relax id requirement for basic query operations
|
2015-08-20 02:57:53 -07:00 |
Simon Ho
|
b8f1598723
|
Add support for regex operator
|
2015-07-27 15:11:53 -07:00 |
Raymond Feng
|
d192b2ea05
|
Fix the test cases so that they be run with the mssql connector
For SQL server, if the PK is an identity, the id cannot be set for
insert.
|
2015-03-27 14:18:17 -07:00 |
Simon Ho
|
04f35b31b4
|
Memory connector returns updated records count
The memory connector now includes the number of updated items in its callback
when updating records.
|
2015-03-19 15:40:14 -07:00 |
Miroslav Bajtoš
|
d731252941
|
deleteAll returns number of deleted records
The number is returned as `data.ctx` to `cb(null, data)`.
|
2015-03-19 17:54:22 +01:00 |
Raymond Feng
|
f91399a307
|
Fix the test case so that at least one property is to be changed
|
2015-03-16 09:26:03 -07:00 |
rudzon
|
3953cc3e2f
|
test for updateAll
|
2015-02-24 13:56:57 +02:00 |
Raymond Feng
|
527d5f7a81
|
Fix findByIds test cases
|
2015-02-20 21:14:41 -08:00 |
Raymond Feng
|
6bc2a53afb
|
Tweak the model names used by tests to avoid mssql conflicts
|
2014-08-25 22:17:51 -07:00 |
Raymond Feng
|
3875c561e0
|
Add ping() to test connections
|
2014-08-20 16:31:23 -07:00 |
Fabien Franzen
|
b18384459a
|
Implemented findByIds
|
2014-07-29 15:01:47 +02:00 |
Raymond Feng
|
a2a91499dd
|
Fix the test case
|
2014-06-20 21:07:26 -07:00 |
Raymond Feng
|
86073cb480
|
Merge pull request #144 from strongloop/feature/add-update
Feature/add update
|
2014-06-20 12:28:48 -07:00 |
Raymond Feng
|
b07c36eab7
|
Use async for flow control
|
2014-06-20 12:05:42 -07:00 |
Raymond Feng
|
ad3af82923
|
Add support for updating multiple instances with query
|
2014-06-17 16:30:02 -07:00 |
Raymond Feng
|
4b9d98c6ce
|
Allows skip or offset
See https://github.com/strongloop/loopback/issues/336
|
2014-06-17 09:07:55 -07:00 |
Raymond Feng
|
bb57fcbe11
|
Fix the comparison for null/boolean values
|
2014-06-10 16:11:50 -07:00 |
Raymond Feng
|
b5816506e0
|
Add boolean tests
|
2014-06-06 09:28:08 -07:00 |
Raymond Feng
|
171642ff48
|
Make sure the records are sorted by seq
|
2014-06-06 09:09:56 -07:00 |
Raymond Feng
|
0191e3c2db
|
Add more tests
|
2014-06-06 08:48:05 -07:00 |
Raymond Feng
|
8f9dc1b867
|
Add support for logical operator (AND/OR)
|
2014-05-15 08:56:00 -07:00 |
Raymond Feng
|
2b8c1ebaee
|
Reformat the code
|
2014-01-24 09:09:53 -08:00 |
Raymond Feng
|
bcf112f042
|
Add index to name prop
|
2013-10-17 14:24:47 -07:00 |
Raymond Feng
|
59841a04a8
|
Set strict to false by default for non-relational data sources
|
2013-08-26 13:38:24 -07:00 |
Raymond Feng
|
463bf69ffc
|
Fix the test description
|
2013-08-19 10:35:52 -07:00 |
Raymond Feng
|
9482d3c7de
|
Fix the where option for delete
|
2013-08-18 10:58:53 -07:00 |
Ritchie Martori
|
d4ca20c01a
|
Add filter.fields support to dao and memory connector
|
2013-07-16 17:53:52 -07:00 |
Ritchie Martori
|
008b406dd7
|
model.find => model.findById, model.all => model.find
|
2013-06-24 12:42:58 -07:00 |
dgsan
|
1a91605340
|
Adds test for limit and skip + limit on `all()` queries as in docs.
(Currently not all adapters may pass.)
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
136ea91fbf
|
Organize model.js
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
c4d4b68413
|
Datatypes casting
|
2013-05-13 22:04:28 -07:00 |
Raymond Feng
|
3eb6869174
|
Revert "Fix the test case so that it passes in the same filter"
This reverts commit 7538601b79 .
|
2013-04-15 16:50:49 -07:00 |