---
title: "Block - Main Group - data · RUAL Documentation"
description: "14 RUAL blueprint blocks in the data main group, sorted into 3 groups. Open a group to find a block and read its pins, canvas example and version history."
canonical: https://docs.rual.nl/block-types/data
language: en
---

# data

14 blocks in 3 groups. Open a block for its pins, an example and how it behaves.

## cursors

- [get cursors `object` `v15.0.2` A member's cursors in a group, key -> sequence: where a worker is in each queue, where a reader is in each channel.](https://docs.rual.nl/block-types/data/cursor_get)

- [set cursor `condition` `v15.0.2` Moves a member's cursor on a key forward to a sequence: the last order a worker processed in a queue, a sync client's position, a reader's last-read message in a channel.](https://docs.rual.nl/block-types/data/cursor_set)

- [keys past cursor `object` `v15.0.2` Which keys have something past a member's cursor, from a map of heads: the queues with orders a worker has not processed, the channels a reader has unread.](https://docs.rual.nl/block-types/data/cursor_lag)

## ordered log

- [update log entry `condition` `v15.0.2` Changes an entry of an ordered log: set fields, remove fields; touch moves its changed sequence so catch-up carries it. An order event's note, an audit record's review, a message's edit.](https://docs.rual.nl/block-types/data/log_update)

- [log head `number` `v15.0.2` The newest entry of a key: its created sequence and id. An order's latest event, a channel's latest message.](https://docs.rual.nl/block-types/data/log_head)

- [log heads of a group `object` `v15.0.2` Every key's head sequence in a group, in one read: the latest event of each order of a shop, the latest message of each channel of a server.](https://docs.rual.nl/block-types/data/log_heads)

- [log entries before `array` `v15.0.2` Entries of a key created before a sequence, oldest first: paging back through an order's history or a channel's messages.](https://docs.rual.nl/block-types/data/log_before)

- [append to log `condition` `v15.0.2` Appends an entry to an ordered log per key: an order's status event, an audit record, a chat message. It takes the key's next sequence and is written through the storage.](https://docs.rual.nl/block-types/data/log_append)

- [log entries since `array` `v15.0.2` Every entry of a key created or changed after a sequence, the newest version of each, and the ids hard-deleted since: catch-up for a sync client, a worker, or a chat client back online.](https://docs.rual.nl/block-types/data/log_since)

- [delete log entry `condition` `v15.0.2` Deletes an entry of an ordered log: a tombstone (set fields, changed sequence moved) or, with hard, the document itself. A cancelled order event, a redacted audit record, a removed message.](https://docs.rual.nl/block-types/data/log_delete)

- [latest log entries `array` `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.](https://docs.rual.nl/block-types/data/log_latest)

## roles

- [check role permission `condition` `v15.0.2` Whether a subject holds one permission under a root, at a path below it, by a role model the entity defines: may this badge holder open the door of this room, may this team member edit this project, may this member send in this channel.](https://docs.rual.nl/block-types/data/roles_check)

- [role permission holders `array` `v15.0.2` Every subject under a root holding a permission at a path, by a role model the entity defines: who may open the doors of this room, who may edit this project, who an announcement to a role or to everyone in a channel reaches.](https://docs.rual.nl/block-types/data/roles_holders)

- [resolve roles `condition` `v15.0.2` What a subject may do under a root, at a path below it, by a role model the entity defines: which doors a badge holder may open in a room of a building (path: building, room), what a team member may do in a project, or what a member may do in a channel of a chat server.](https://docs.rual.nl/block-types/data/roles_resolve)

- [All block groups](https://docs.rual.nl/block-types): Back to the overview of every group.
