getTableHash
The getTableHash function returns a hash for a single Table in a Store, based on each Row Id and hash.
getTableHash(rowHashes: {[rowId: Id]: Hash}): HashExample
This example gets the hash of a Table.
import {getTableHash} from 'tinybase';
const rowHashes = {
fido: 1810444343, // hash of its contents
};
console.log(getTableHash(rowHashes));
// -> 4262151841
Since
v6.2.0