latest log entries

This block is part of the data group and was last modified in core v15.0.2.

latest log entries v15.0.2

The newest entries of a key, oldest first: an order's recent events, an account's last audit records, a channel's latest messages.

In pins 7
  • storage value required

    the storage the log's entries are documents of; it names the log

  • key value required

    the log within the storage: an order, an account, a channel

  • limit number

    50 by default

  • key field value

    the field that holds the key; log_key by default

    Default log_key

  • id field value

    the field that holds the entry's id; id by default

    Default id

  • created field value

    the field that holds the created sequence; created_seq by default

    Default created_seq

  • changed field value

    the field that holds the changed sequence; changed_seq by default

    Default changed_seq

Out pins 2
  • entries array
  • error value

From the Redis cache of each key's latest 200 entries, shaped as a read through the storage would be; only what the cache does not reach is read from the storage, sorted on the created field. limit is 50 by default.

Version history

Introduced in v15.0.2.

  • v15.0.2: block added in this release.

Back to data Return to the main group to view all sub-groups Back to ordered log Return to the group to view all blocks within this group