mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Update lookup.py: include into CONTAINS a link to lookupRecords (#119)
This commit is contained in:
parent
4a84715e2b
commit
206e1550d5
@ -153,8 +153,8 @@ def VLOOKUP(table, **field_value_pairs):
|
|||||||
|
|
||||||
class _Contains(namedtuple("_Contains", "value")):
|
class _Contains(namedtuple("_Contains", "value")):
|
||||||
"""
|
"""
|
||||||
Use this marker with `Table.lookupRecords` to find records
|
Use this marker with [UserTable.lookupRecords](#lookuprecords) to find records
|
||||||
where a column contains the given value, e.g:
|
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"))
|
MoviesTable.lookupRecords(genre=CONTAINS("Drama"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user