Skip to content

Commit e7bac85

Browse files
committed
Remove simple queries
1 parent 8500c03 commit e7bac85

File tree

4 files changed

+61
-1272
lines changed

4 files changed

+61
-1272
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ This driver uses semantic versioning:
1616

1717
## [Unreleased]
1818

19+
### Removed
20+
21+
- Removed `Collection` methods for simple queries: `list`, `all`, `any`,
22+
`byExample`, `firstExample`, `removeByExample`, `replaceByExample`,
23+
`updateByExample`, `lookupByKeys`, `removeByKeys`, `fulltext`
24+
25+
Simple queries were deprecated in ArangoDB 3.4 and can be replicated with AQL.
26+
1927
### Added
2028

2129
- Added support for `withStats` option in `collection.indexes`

MIGRATING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ Note that ArangoDB may reject non-normalized unicode names and identifiers.
2121
This change is intended to make it easier to recognize normalization issues in
2222
code interacting with ArangoDB that were previously masked by arangojs.
2323

24+
### Simple queries
25+
26+
Simple queries like the `removeByExample` and `firstExample` methods have been
27+
removed from the collections API. These methods were deprecated in ArangoDB 3.4
28+
and can be replaced with AQL queries. For examples for replicating each
29+
method's behavior in AQL, see the documentation for these methods in ArangoJS 8.
30+
2431
### Request and Response changes
2532

2633
Version 9 now uses native `fetch` in all environments. This means that the

0 commit comments

Comments
 (0)