@sentio/sdk
    Preparing search index...

    Variable DBRequest

    DBRequest: {
        create(
            base?: {
                delete?: { entity?: string[]; id?: string[] };
                get?: { entity?: string; id?: string };
                list?: {
                    cursor?: string;
                    entity?: string;
                    filters?: {
                        field?: string;
                        op?: DBRequest_DBOperator;
                        value?: { values?: (...) | (...) };
                    }[];
                    pageSize?: number;
                };
                opId?: bigint;
                update?: {
                    entity?: string[];
                    entityData?: { fields?: { [key: string]: (...)
                    | (...) } }[];
                    id?: string[];
                };
                upsert?: {
                    data?: { [key: string]: any }[];
                    entity?: string[];
                    entityData?: { fields?: { [key: string]: (...) | (...) } }[];
                    id?: string[];
                };
            },
        ): DBRequest;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): DBRequest;
        encode(message: DBRequest, writer?: Writer): Writer;
        fromJSON(object: any): DBRequest;
        fromPartial(
            object: {
                delete?: { entity?: string[]; id?: string[] };
                get?: { entity?: string; id?: string };
                list?: {
                    cursor?: string;
                    entity?: string;
                    filters?: {
                        field?: string;
                        op?: DBRequest_DBOperator;
                        value?: { values?: (...)[] };
                    }[];
                    pageSize?: number;
                };
                opId?: bigint;
                update?: {
                    entity?: string[];
                    entityData?: {
                        fields?: { [key: string]: undefined
                        | { op?: ...; value?: ... } };
                    }[];
                    id?: string[];
                };
                upsert?: {
                    data?: { [key: string]: any }[];
                    entity?: string[];
                    entityData?: {
                        fields?: {
                            [key: string]:
                                | undefined
                                | {
                                    bigdecimalValue?: ...;
                                    bigintValue?: ...;
                                    boolValue?: ...;
                                    bytesValue?: ...;
                                    floatValue?: ...;
                                    int64Value?: ...;
                                    intValue?: ...;
                                    listValue?: ...;
                                    nullValue?: ...;
                                    stringValue?: ...;
                                    structValue?: ...;
                                    timestampValue?: ...;
                                    tokenValue?: ...;
                                };
                        };
                    }[];
                    id?: string[];
                };
            },
        ): DBRequest;
        toJSON(message: DBRequest): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              delete?: { entity?: string[]; id?: string[] };
              get?: { entity?: string; id?: string };
              list?: {
                  cursor?: string;
                  entity?: string;
                  filters?: {
                      field?: string;
                      op?: DBRequest_DBOperator;
                      value?: { values?: (...) | (...) };
                  }[];
                  pageSize?: number;
              };
              opId?: bigint;
              update?: {
                  entity?: string[];
                  entityData?: { fields?: { [key: string]: (...)
                  | (...) } }[];
                  id?: string[];
              };
              upsert?: {
                  data?: { [key: string]: any }[];
                  entity?: string[];
                  entityData?: { fields?: { [key: string]: (...) | (...) } }[];
                  id?: string[];
              };
          }

        Returns DBRequest

    • decode: function
      • Parameters

        • input: Uint8Array<ArrayBufferLike> | Reader
        • Optionallength: number

        Returns DBRequest

    • encode: function
      • Parameters

        Returns Writer

    • fromJSON: function
      • Parameters

        • object: any

        Returns DBRequest

    • fromPartial: function
      • Parameters

        • object: {
              delete?: { entity?: string[]; id?: string[] };
              get?: { entity?: string; id?: string };
              list?: {
                  cursor?: string;
                  entity?: string;
                  filters?: {
                      field?: string;
                      op?: DBRequest_DBOperator;
                      value?: { values?: (...)[] };
                  }[];
                  pageSize?: number;
              };
              opId?: bigint;
              update?: {
                  entity?: string[];
                  entityData?: {
                      fields?: { [key: string]: undefined
                      | { op?: ...; value?: ... } };
                  }[];
                  id?: string[];
              };
              upsert?: {
                  data?: { [key: string]: any }[];
                  entity?: string[];
                  entityData?: {
                      fields?: {
                          [key: string]:
                              | undefined
                              | {
                                  bigdecimalValue?: ...;
                                  bigintValue?: ...;
                                  boolValue?: ...;
                                  bytesValue?: ...;
                                  floatValue?: ...;
                                  int64Value?: ...;
                                  intValue?: ...;
                                  listValue?: ...;
                                  nullValue?: ...;
                                  stringValue?: ...;
                                  structValue?: ...;
                                  timestampValue?: ...;
                                  tokenValue?: ...;
                              };
                      };
                  }[];
                  id?: string[];
              };
          }

        Returns DBRequest

    • toJSON: function
      • Parameters

        Returns unknown