Skip to main content
Roberty Studio
RPARobot database

Get all keys

Get all keys

Retrieves every identification key stored in the robot's internal database. Useful for iterating over the existing records or checking which keys are present before running operations.


Options​

Database name​

Name of the database to query. When not given, the current robot's default database is used. Optional field.

Returns​

Javascript code​

js
actions["action-id"].keys // list with every key in the database (List)
actions["action-id"].size // number of keys (Number)

Field selection​

  • keys — list with every key in the database (List)
  • size — number of keys (Number)

Rules and Conditions​

  • Every field is optional.
  • Returns an empty list when the database has no records.