Skip to main content
Version: v10.0.0

RowMismatch

What a collection method returns when its rows do not match the collection's row type. It has no collection methods, so chaining on it and passing it to createDb do not compile.


Import
import { RowMismatch } from "@hyper-fetch/db"

Preview​

type RowMismatch<Received,Expected> = {
rowMismatch: { expected: Expected; received: Received };
}

Structure​

RowMismatch
NameTypeDescription
rowMismatch
{ expected: Expected; received: Received }