Home | History | Annotate | Download | only in indexeddb

Lines Matching refs:keyPath

108     RefPtr<IDBKey> indexKey = createIDBKeyFromScriptValueAndKeyPath(requestState, objectValue, indexMetadata.keyPath);
180 const IDBKeyPath& keyPath = m_metadata.keyPath;
181 const bool usesInLineKeys = !keyPath.isNull();
196 RefPtr<IDBKey> keyPathKey = createIDBKeyFromScriptValueAndKeyPath(&requestState, value, keyPath);
206 if (!canInjectIDBKeyIntoScriptValue(&requestState, value, keyPath)) {
368 PassRefPtr<IDBIndex> IDBObjectStore::createIndex(ScriptExecutionContext* context, const String& name, const IDBKeyPath& keyPath, const Dictionary& options, ExceptionState& es)
376 return createIndex(context, name, keyPath, unique, multiEntry, es);
379 PassRefPtr<IDBIndex> IDBObjectStore::createIndex(ScriptExecutionContext* context, const String& name, const IDBKeyPath& keyPath, bool unique, bool multiEntry, ExceptionState& es)
398 if (!keyPath.isValid()) {
399 keyPath argument contains an invalid key path.");
411 if (keyPath.type() == IDBKeyPath::ArrayType && multiEntry) {
412 es.throwDOMException(InvalidAccessError, "The keyPath argument was an array and the multiEntry option is true.");
417 backendDB()->createIndex(m_transaction->id(), id(), indexId, name, keyPath, unique, multiEntry);
421 IDBIndexMetadata metadata(name, indexId, keyPath, unique, multiEntry);