mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) updates from grist-core
This commit is contained in:
commit
596bd194d5
@ -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"))
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user