(core) updates from grist-core

This commit is contained in:
Dmitry S 2022-01-06 18:36:56 -05:00
commit 596bd194d5
2 changed files with 5 additions and 2 deletions

View File

@ -153,8 +153,8 @@ def VLOOKUP(table, **field_value_pairs):
class _Contains(namedtuple("_Contains", "value")):
"""
Use this marker with `Table.lookupRecords` to find records
where a column contains the given value, e.g:
Use this marker with [UserTable.lookupRecords](#lookuprecords) to find records
where a field of a list type (such as `Choice List` or `Reference List`) contains the given value, e.g:
MoviesTable.lookupRecords(genre=CONTAINS("Drama"))

View File

@ -89,6 +89,9 @@ class UserTable(object):
```
See [RecordSet](#recordset) for useful properties offered by the returned object.
See [CONTAINS](#contains) for an example utilizing `UserTable.lookupRecords` to find records where
a field of a list type (such as `Choice List` or `Reference List`) contains the given value.
"""
return self.table.lookup_records(**field_value_pairs)