Home | History | Annotate | Download | only in indexeddb

Lines Matching defs:multiEntry

113     if (!indexMetadata.multiEntry || indexKey->type() != IDBKey::ArrayType) {
119 ASSERT(indexMetadata.multiEntry);
373 bool multiEntry = false;
374 options.get("multiEntry", multiEntry);
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)
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);