SqlOtter
← All documentationWork with data

Work with data

Find a Redis key and read its contents

Select the logical database, locate a key, and use Key Content and Key Info to inspect it.

What this feature does

Key Content displays a key’s value in columns suited to its native Redis type. For a list, the index column gives the zero-based position of each element.

When to use it

Use this when checking what a key contains, confirming list order, or looking up its expiry.

SqlOtter Key Content for a Redis list in database 3, with seed at index 0 and added at index 1.
Test data in SqlOtter v1.1.9 build 20261126. Key Content shows the list phase19:direct_db3:add:list in database 3.

Before you start

Open a Redis connection in a SqlOtter build that supports Redis. Use a Redis account with permission to scan the logical database and read the target key.

Keyboard shortcut

Use the search field above the key tree to look up a key by name.

Keyboard shortcut
ActionWindows / LinuxmacOSFocus and effect
Submit key searchEnterReturnWith the tree search field focused, start a paged Redis scan in the active logical database.

How to use it

  1. Select the logical database in the Database dropdown. The screenshot uses database 3.
  2. Find the key by expanding namespace folders. You can also enter the key name in the tree search field and press Enter to submit a Redis scan.
  3. Select the key and choose Key Content. Check the full key name in the tab, then read the grid for that key’s data type.
  4. Choose Key Info for the same key to inspect its type and TTL. A TTL of −1 means the key has no expiry.

What to expect

In the test example, phase19:direct_db3:add:list opens as a two-element list. The index and value columns show seed at position 0 and added at position 1.

Limits and safety

  • Key search scans one logical database in pages. The results describe the portion scanned so far.
  • The grid shows a snapshot. Refresh the view when you need to check a value that may have changed.

If something goes wrong

  • If the key is missing, confirm the logical database and check the search text against the full key name. Load more keys if the tree offers another page.
  • If the grid differs from the screenshot, check the open tab’s key name and the type shown in Key Info.