@JsType(isNative=true) public class IDBDatabase extends JsObject
Constructor and Description |
---|
IDBDatabase() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ObjectStore |
createObjectStore(String objStore,
Object parametes) |
void |
deleteObjectStore(String objStore) |
String |
getName() |
String[] |
getObjectStoreNames() |
Long |
getVersion() |
void |
setOnabort(Function f) |
void |
setOnerror(Function f) |
void |
setOnversionchange(Function f) |
Transaction |
transaction(String[] objStores,
String mode) |
cast, getOwnPropertyNames, hasOwnProperty, observe
@JsProperty public String getName()
@JsProperty public Long getVersion()
@JsProperty public String[] getObjectStoreNames()
@JsProperty public void setOnabort(Function f)
@JsProperty public void setOnerror(Function f)
@JsProperty public void setOnversionchange(Function f)
public void close()
public ObjectStore createObjectStore(String objStore, Object parametes)
public void deleteObjectStore(String objStore)
public Transaction transaction(String[] objStores, String mode)
Copyright © 2018 Xalys. All rights reserved.