Skip to content

Commit

Permalink
Add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-allan committed Jul 11, 2024
1 parent 743b01a commit 906d1b5
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions omero/developers/Tables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,17 @@ Main methods
`omero.tables.include_row_numbers` to `false` in the Ice
context passed when you make the call.

For example:

::

readCoordinates(
[0], # rowNumbers
{
"omero.tables.include_row_numbers": "false"
}
)

.. method:: read(colNumbers, start, stop)

Read a subset of columns and consecutive rows from a table.
Expand All @@ -210,6 +221,19 @@ Main methods
`omero.tables.include_row_numbers` to `false` in the Ice
context passed when you make the call.

For example:

::

read(
[0], # colNumbers
0, # start
2, # stop
{
"omero.tables.include_row_numbers": "false"
}
)

.. method:: slice(colNumbers, rowNumbers)

Read a subset of columns and rows (may be non-consecutive) from a
Expand All @@ -228,6 +252,18 @@ Main methods
`omero.tables.include_row_numbers` to `false` in the Ice
context passed when you make the call.

For example:

::

slice(
[0], # colNumbers
[0, 1], # rowNumbers
{
"omero.tables.include_row_numbers": "false"
}
)

.. method:: getWhereList(condition, variables, start, stop, step)

Run a query on a table, see :ref:`tables-query-language`.
Expand Down

0 comments on commit 906d1b5

Please sign in to comment.