@valkey/valkey-glide
    Preparing search index...

    Interface StreamAddOptions

    interface StreamAddOptions {
        id?: string;
        makeStream?: boolean;
        trim?: StreamTrimOptions;
    }
    Index

    Properties

    Properties

    id?: string

    If set, the new entry will be added with this ID.

    makeStream?: boolean

    If set to false, a new stream won't be created if no stream matches the given key. Equivalent to NOMKSTREAM in the Valkey API.

    If set, the add operation will also trim the older entries in the stream.