User Tools

Site Tools


Sidebar

xtdb:applescript:query

Query

Perform a query to get the data from a specified unit either as an applescript list of lists or alternatively writing the data to a file.

Usage:

  • query [text: the name of the Unit or Database]
    • starting at [date: the start date/time for the query]
    • ending at [date: the stop date/time for the query]
    • saving to[optional: file: an applescript file reference to write the data to instead of returning a list
  • returns: a list of lists for each update/event with the date and the value like: {{date, value}, {date, value}…}
xtdb/applescript/query.txt · Last modified: 2022/04/06 14:24 by James Sentman