{"json_modified": "2016-06-29T03:20:07.064367", "uuid": "4ef775d8-207b-4322-872f-bf1869e518d6", "title": "IDBIndex.getAll()", "url": "/en-US/docs/Web/API/IDBIndex/getAll", "tags": ["API", "IDBIndex", "storage", "IndexedDB", "Reference", "R\u00e9f\u00e9rence", "Database", "Storage", "Method"], "translations": [{"uuid": "7c83721e-65b0-40b1-a135-baf58803448b", "title": "IDBIndex.getAll()", "url": "/fr/docs/Web/API/IDBIndex/getAll", "tags": [], "summary": "On peut comparer cette m\u00e9thode avec une recherche par curseur. Effectivement, il est plus int\u00e9ressant si l'on veut acc\u00e9der aux enregistrements un par un d'utiliser un curseur, les clones structur\u00e9s des valeurs seront fait un par un. Mais si l'on veut un tableau des clones structur\u00e9s des valeurs il vaut mieux utilis\u00e9 getAll(), le moteur Gecko feras les clones structur\u00e9s en une seul fois.", "localization_tags": [], "locale": "fr", "last_edit": "2016-06-29T03:19:56", "review_tags": ["technical", "editorial"]}], "modified": "2016-03-10T10:24:50", "label": "IDBIndex.getAll()", "localization_tags": [], "locale": "en-US", "id": 84291, "last_edit": "2016-03-10T10:24:46", "summary": "There is a performance cost associated with looking at the value property of a cursor, because the object is created lazily. To use a feature like\u00a0getAll(), Gecko would have to create all the objects at once. If you were just interested in looking at each of the keys, for instance, it would be much more efficient to use a cursor. If you were trying to get an array of all the objects in an object store, though, you could use\u00a0getAll().", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Returns", "title": "Returns"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Exceptions", "title": "Exceptions"}, {"id": "Example", "title": "Example"}, {"id": "Specification", "title": "Specification"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/IDBIndex/getAll", "review_tags": ["technical"]}