Comments (3)
The example is truly broken forever, and so is the iterate method (both added in January 2013):
- The example uses the map method instead of showing how to use the iterate method
- The logic for probability is flawed. Higher values make it less likely to pick a document unless the probability is >= 1.0
- Any calls of the method with a probability < 1.0 result in an error because
db
is undefined. It seems likerequire("@arangodb").db
isn't available in common modules
from docs.
After checking with Jan, iterate()
will be deprecated from 3.11 onwards and potentially be removed in 4.0 because it's hardly useful and only works with small collections (it loads the entire collection content).
from docs.
Documentation updates added to #1144
from docs.
Related Issues (20)
- Document supported hardware architectures HOT 1
- [Guide Not Working] :: Create an ArangoDB cluster on Microsoft Azure HOT 1
- typo: forceForceHint HOT 1
- ArangoDeployment spec.architecture missing from docs HOT 7
- Mac Homebrew Install Location changed for M1 & M2 models HOT 1
- Missing docs for `DATE_ISOWEEKYEAR()` HOT 1
- Why was the AQL tutorial removed? HOT 1
- Fulltext functions documentation deprectation HOT 1
- JS Transaction needs sentence restructure HOT 1
- Wrong description: graph.edgeCollectionName.save(from, to, data, options) HOT 1
- AQL documentation mistakenly states empty arrays & objects are falsy HOT 1
- Typo in examples / join HOT 1
- Offline tarball for built docs HOT 2
- Python async driver HOT 2
- Atomicity is not clear enough HOT 4
- Redirect loop documentation HOT 1
- Documentation mentions that API is a public API and does not require user authentication HOT 1
- ArangoSearch FuzzySearch misleading analyzer example. HOT 2
- The unit for lockTimeout option is not specified in the HTTP documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.