Skip to content

Commit

Permalink
Remove simple queries
Browse files Browse the repository at this point in the history
  • Loading branch information
pluma4345 committed Jun 7, 2024
1 parent 8500c03 commit e7bac85
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1,272 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ This driver uses semantic versioning:

## [Unreleased]

### Removed

- Removed `Collection` methods for simple queries: `list`, `all`, `any`,
`byExample`, `firstExample`, `removeByExample`, `replaceByExample`,
`updateByExample`, `lookupByKeys`, `removeByKeys`, `fulltext`

Simple queries were deprecated in ArangoDB 3.4 and can be replicated with AQL.

### Added

- Added support for `withStats` option in `collection.indexes`
Expand Down
7 changes: 7 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ Note that ArangoDB may reject non-normalized unicode names and identifiers.
This change is intended to make it easier to recognize normalization issues in
code interacting with ArangoDB that were previously masked by arangojs.

### Simple queries

Simple queries like the `removeByExample` and `firstExample` methods have been
removed from the collections API. These methods were deprecated in ArangoDB 3.4
and can be replaced with AQL queries. For examples for replicating each
method's behavior in AQL, see the documentation for these methods in ArangoJS 8.

### Request and Response changes

Version 9 now uses native `fetch` in all environments. This means that the
Expand Down
Loading

0 comments on commit e7bac85

Please sign in to comment.