mirror of https://gitee.com/bigwinds/arangodb
documentation updates
This commit is contained in:
parent
3df0940c7e
commit
4985911a65
|
@ -1,8 +1,10 @@
|
||||||
devel
|
devel
|
||||||
-----
|
-----
|
||||||
|
|
||||||
* the rocksdb storage format was changed, users of the previous alpha versions
|
* added `REGEX_REPLACE` AQL function
|
||||||
must delete the database directory and reimport their data
|
|
||||||
|
* the RocksDB storage format was changed, users of the previous alpha versions
|
||||||
|
must delete the database directory and re-import their data
|
||||||
|
|
||||||
* added server startup option `--query.fail-on-warning`
|
* added server startup option `--query.fail-on-warning`
|
||||||
|
|
||||||
|
|
|
@ -257,11 +257,23 @@ AQL
|
||||||
FILTER DISTANCE(doc.latitude, doc.longitude, 0, 0) < 2000
|
FILTER DISTANCE(doc.latitude, doc.longitude, 0, 0) < 2000
|
||||||
RETURN doc
|
RETURN doc
|
||||||
|
|
||||||
Note that this will work in the MMFiles engine only.
|
|
||||||
|
|
||||||
|
|
||||||
### Miscellaneous improvements
|
### Miscellaneous improvements
|
||||||
|
|
||||||
|
* added `REGEX_REPLACE` AQL function
|
||||||
|
|
||||||
|
`REGEX_REPLACE(text, search, replacement, caseInsensitive) → string`
|
||||||
|
|
||||||
|
Replace the pattern *search* with the string *replacement* in the string
|
||||||
|
*text*, using regular expression matching.
|
||||||
|
|
||||||
|
- **text** (string): the string to search in
|
||||||
|
- **search** (string): a regular expression search pattern
|
||||||
|
- **replacement** (string): the string to replace the *search* pattern with
|
||||||
|
- returns **string** (string): the string *text* with the *search* regex
|
||||||
|
pattern replaced with the *replacement* string wherever the pattern exists
|
||||||
|
in *text*
|
||||||
|
|
||||||
* added new startup option `--query.fail-on-warning` to make AQL queries
|
* added new startup option `--query.fail-on-warning` to make AQL queries
|
||||||
abort instead of continuing with warnings.
|
abort instead of continuing with warnings.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue