{"json_modified": "2016-06-26T07:52:38.791712", "uuid": "631f7bbd-53f6-436c-864a-7936e64caadf", "title": "IDBDatabase.onversionchange", "url": "/en-US/docs/Web/API/IDBDatabase/onversionchange", "tags": ["API", "onversionchange", "IndexedDB", "Reference", "Property", "Database", "IDBDatabase", "Storage", "storage"], "translations": [{"uuid": "b43a6267-52f8-4962-8596-2d01bf78ebf5", "title": "IDBDatabase.onversionchange", "url": "/fr/docs/Web/API/IDBDatabase/onversionchange", "tags": ["R\u00e9f\u00e9rence", "API", "IndexedDB", "Propri\u00e9t\u00e9"], "summary": "Le gestionnaire d'\u00e9v\u00e9nement onversionchange
, rattach\u00e9 \u00e0 l'interface IDBDatabase
, s\u2019ex\u00e9cute au d\u00e9clenchement de l'\u00e9v\u00e9nement versionchange
qui se produit lorsque la structure de la base de donn\u00e9e change (l'\u00e9v\u00e9nement IDBOpenDBRequest.onupgradeneeded
ou IDBFactory.deleteDatabase
a \u00e9t\u00e9 demand\u00e9 par ailleurs (probablement dans une autre fen\u00eatre ou onglet sur le m\u00eame ordinateur)).", "localization_tags": [], "locale": "fr", "last_edit": "2016-06-26T07:52:31", "review_tags": []}], "modified": "2016-03-09T10:29:37", "label": "IDBDatabase.onversionchange", "localization_tags": [], "locale": "en-US", "id": 84269, "last_edit": "2016-03-09T10:29:34", "summary": "This example shows an IDBOpenDBRequest.onupgradeneeded
block that creates a new object store; it also includes\u00a0onerror
\u00a0and\u00a0onabort
\u00a0functions to handle non-success cases, and an onversionchange function to notify when a database structure change has occurred.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/IDBDatabase/onversionchange", "review_tags": []}