Type alias DstoreSaveEntity

DstoreSaveEntity: {
    data: Omit<IDstoreEntry, "_keyStr" | Datastore["KEY"]> & Partial<{
        [KEY_SYMBOL]: Key;
        _keyStr: string;
    }>;
    excludeFromIndexes?: readonly string[];
    excludeLargeProperties?: boolean;
    key: Key;
    method?: "insert" | "update" | "upsert";
}

Represents the thing you pass to the save method. Also called "Entity" by Google

Type declaration

  • data: Omit<IDstoreEntry, "_keyStr" | Datastore["KEY"]> & Partial<{
        [KEY_SYMBOL]: Key;
        _keyStr: string;
    }>
  • Optional excludeFromIndexes?: readonly string[]
  • Optional excludeLargeProperties?: boolean
  • key: Key
  • Optional method?: "insert" | "update" | "upsert"

Generated using TypeDoc