Skip to content

Commit 507b792

Browse files
SG-42847 update operators-and-arguments docs (#452)
* SG-42847 update operators-and-arguments docs * SG-42847 fix missing space
1 parent db056df commit 507b792

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

docs/reference.rst

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,14 @@ Operators and Arguments
296296
'not_between' [[field_value] | None, [field_value] | None]
297297
'in_last' [[int], 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR']
298298
# note that brackets are not literal (eg. ['start_date', 'in_last', 1, 'DAY'])
299+
'not_in_last' [[int], 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR']
300+
# note that brackets are not literal (eg. ['start_date', 'not_in_last', 1, 'DAY'])
299301
'in_next' [[int], 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR']
300302
# note that brackets are not literal (eg. ['start_date', 'in_next', 1, 'DAY'])
303+
'not_in_next' [[int], 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR']
304+
# note that brackets are not literal (eg. ['start_date', 'not_in_next', 1, 'DAY'])
301305
'in' [[field_value], ...] # Array of field values
306+
'not_in' [[field_value], ...] # Array of field values
302307
'type_is' [string] | None # Shotgun entity type
303308
'type_is_not' [string] | None # Shotgun entity type
304309
'in_calendar_day' [int] # Offset (e.g. 0 = today, 1 = tomorrow,
@@ -307,8 +312,11 @@ Operators and Arguments
307312
# -1 = last week)
308313
'in_calendar_month' [int] # Offset (e.g. 0 = this month, 1 = next month,
309314
# -1 = last month)
315+
'in_calendar_year' [int] # Offset (e.g. 0 = this year, 1 = next year,
316+
# -1 = last year)
310317
'name_contains' [string]
311318
'name_not_contains' [string]
319+
'name_is' [string]
312320
'name_starts_with' [string]
313321
'name_ends_with' [string]
314322

@@ -450,9 +458,13 @@ Valid Operators By Data Type
450458
tag_list 'is' ** Note: when used on tag_list, this functions as
451459
you would expect 'contains' to function
452460
'is_not'
461+
'type_is'
462+
'type_is_not'
453463
'name_contains'
454464
'name_not_contains'
455-
'name_id'
465+
'name_is'
466+
'in'
467+
'not_in'
456468

457469
text 'is'
458470
'is_not'
@@ -698,7 +710,7 @@ image (read-only)
698710
:value: :obj:`str` | :obj:`None`
699711

700712
.. note::
701-
Refer to :ref:`interpreting_image_field_strings`.
713+
Refer to :ref:`interpreting_image_field_strings`.
702714

703715
list
704716
====

0 commit comments

Comments
 (0)