webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
IDBDatabase Interface Reference

import"interfaces.idl";

Inheritance diagram for IDBDatabase:
EventTarget EventTarget

Public Member Functions

IDBTransaction transaction ((DOMString or sequence< DOMString >) storeNames, optional IDBTransactionMode mode="readonly")
 
void close ()
 
IDBObjectStore createObjectStore (DOMString name, optional IDBObjectStoreParameters options)
 
void deleteObjectStore (DOMString name)
 
IDBObjectStore createObjectStore (DOMString name, optional IDBObjectStoreParameters parameters)
 
void deleteObjectStore (DOMString name)
 
IDBTransaction transaction ((DOMString or sequence< DOMString >) storeNames, optional IDBTransactionMode mode="readonly")
 
IDBTransaction transaction (DOMStringList storeNames, optional IDBTransactionMode mode="readonly")
 
void close ()
 
- Public Member Functions inherited from EventTarget
void addEventListener ([AtomicString] DOMString type, EventListener? callback, optional(AddEventListenerOptions or boolean) options=false)
 
void removeEventListener ([AtomicString] DOMString type, EventListener? callback, optional(EventListenerOptions or boolean) options=false)
 
boolean dispatchEvent (Event event)
 

Public Attributes

readonly attribute DOMString name
 
readonly attribute unsigned long long version
 
readonly attribute DOMStringList objectStoreNames
 
attribute EventHandler onabort
 
attribute EventHandler onclose
 
attribute EventHandler onerror
 
attribute EventHandler onversionchange
 

Member Function Documentation

◆ close() [1/2]

void IDBDatabase::close ( )

◆ close() [2/2]

void IDBDatabase::close ( )

◆ createObjectStore() [1/2]

IDBObjectStore IDBDatabase::createObjectStore ( DOMString  name,
optional IDBObjectStoreParameters  parameters 
)

◆ createObjectStore() [2/2]

IDBObjectStore IDBDatabase::createObjectStore ( DOMString  name,
optional IDBObjectStoreParameters  options 
)

◆ deleteObjectStore() [1/2]

void IDBDatabase::deleteObjectStore ( DOMString  name)

◆ deleteObjectStore() [2/2]

void IDBDatabase::deleteObjectStore ( DOMString  name)

◆ transaction() [1/3]

IDBTransaction IDBDatabase::transaction ( (DOMString or sequence< DOMString >)  storeNames,
optional IDBTransactionMode  mode = "readonly" 
)

◆ transaction() [2/3]

IDBTransaction IDBDatabase::transaction ( DOMStringList  storeNames,
optional IDBTransactionMode  mode = "readonly" 
)

◆ transaction() [3/3]

IDBTransaction IDBDatabase::transaction ( (DOMString or sequence< DOMString >)  storeNames,
optional IDBTransactionMode  mode = "readonly" 
)

Member Data Documentation

◆ name

readonly attribute DOMString IDBDatabase::name

◆ objectStoreNames

readonly attribute DOMStringList IDBDatabase::objectStoreNames

◆ onabort

attribute EventHandler IDBDatabase::onabort

◆ onclose

attribute EventHandler IDBDatabase::onclose

◆ onerror

attribute EventHandler IDBDatabase::onerror

◆ onversionchange

attribute EventHandler IDBDatabase::onversionchange

◆ version

readonly attribute unsigned long long IDBDatabase::version

The documentation for this interface was generated from the following files: