createIndex2<I1 extends IndexBase, I2 extends IndexBase> method

SdbOpenIndexRef<K, V, (I1, I2)> createIndex2<I1 extends IndexBase, I2 extends IndexBase>(
  1. SdbIndex2Ref<K, V, I1, I2> index,
  2. String indexKeyPath1,
  3. String indexKeyPath2
)

Create an index on 2 fields.

Implementation

SdbOpenIndexRef<K, V, (I1, I2)>
    createIndex2<I1 extends IndexBase, I2 extends IndexBase>(
            SdbIndex2Ref<K, V, I1, I2> index,
            String indexKeyPath1,
            String indexKeyPath2) =>
        impl.createIndexImpl<(I1, I2)>(
            index.impl, [indexKeyPath1, indexKeyPath2]);