SdbStoreRefJoinExtension<K extends SdbKey, V extends SdbValue> extension
Join methods on a store, sugar over asJoinSource/asJoinSourceAt.
Every method takes the same options as its SdbJoinSourceExtension
counterpart, plus the joinKeyPath the join key is read at (null for the
primary key of the source record, which is what a one to many join from
the parent side needs).
Prefer the index extension when the join key path is indexed: it says so in the API, and an implementation able to join natively then reads the join key straight from the index.
- on
-
- SdbStoreRef<
K, V>
- SdbStoreRef<
Methods
-
findJoinedRecords<
JK extends SdbKey, JV extends SdbValue> (SdbClient client, {required SdbJoinTarget< JK, JV> target, String? joinKeyPath, SdbFindOptions<K> ? options, SdbJoinFindOptions? joinOptions}) → Future<List< SdbRecordSnapshot< >JK, JV> > -
Available on SdbStoreRef<
See SdbJoinSourceExtension.findJoinedRecords.K, V> , provided by the SdbStoreRefJoinExtension extension -
findJoinRecords<
JK extends SdbKey, JV extends SdbValue> (SdbClient client, {required SdbJoinTarget< JK, JV> target, String? joinKeyPath, SdbFindOptions<K> ? options, SdbJoinFindOptions? joinOptions}) → Future<List< SdbRecordSnapshot< >K, V> > -
Available on SdbStoreRef<
See SdbJoinSourceExtension.findJoinRecords.K, V> , provided by the SdbStoreRefJoinExtension extension -
findJoinRows<
JK extends SdbKey, JV extends SdbValue> (SdbClient client, {required SdbJoinTarget< JK, JV> target, String? joinKeyPath, SdbFindOptions<K> ? options, SdbJoinFindOptions? joinOptions}) → Future<List< SdbJoinRow< >K, V, JK, JV> > -
Available on SdbStoreRef<
See SdbJoinSourceExtension.findJoinRows.K, V> , provided by the SdbStoreRefJoinExtension extension -
joinCount<
JK extends SdbKey, JV extends SdbValue> (SdbClient client, {required SdbJoinTarget< JK, JV> target, String? joinKeyPath, SdbFindOptions<K> ? options, SdbJoinFindOptions? joinOptions}) → Future<int> -
Available on SdbStoreRef<
See SdbJoinSourceExtension.joinCount.K, V> , provided by the SdbStoreRefJoinExtension extension -
joinIterate<
JK extends SdbKey, JV extends SdbValue> (SdbClient client, {required SdbJoinTarget< JK, JV> target, String? joinKeyPath, SdbTransactionMode? mode, SdbFindOptions<K> ? options, SdbJoinFindOptions? joinOptions, required SdbJoinRowHandler<K, V, JK, JV> onRow}) → Future<void> -
Available on SdbStoreRef<
See SdbJoinSourceExtension.joinIterate.K, V> , provided by the SdbStoreRefJoinExtension extension -
joinIterateJoinedRecords<
JK extends SdbKey, JV extends SdbValue> (SdbClient client, {required SdbJoinTarget< JK, JV> target, String? joinKeyPath, SdbTransactionMode? mode, SdbFindOptions<K> ? options, SdbJoinFindOptions? joinOptions, required SdbJoinRecordHandler<JK, JV> onRecord}) → Future<void> -
Available on SdbStoreRef<
See SdbJoinSourceExtension.joinIterateJoinedRecords.K, V> , provided by the SdbStoreRefJoinExtension extension -
joinIterateRecords<
JK extends SdbKey, JV extends SdbValue> (SdbClient client, {required SdbJoinTarget< JK, JV> target, String? joinKeyPath, SdbTransactionMode? mode, SdbFindOptions<K> ? options, SdbJoinFindOptions? joinOptions, required SdbJoinRecordHandler<K, V> onRecord}) → Future<void> -
Available on SdbStoreRef<
See SdbJoinSourceExtension.joinIterateRecords.K, V> , provided by the SdbStoreRefJoinExtension extension