String¶
-
class
aiosnow.fields.string.
StringQueryable
¶ -
between
(value1: str, value2: str) → aiosnow.query.condition.Condition¶ Example: short_description.between(“q”, “t”)
All records in which the first letter in the Short description field is “q,” “r,” “s,” or “t.”
-
contains
(value: str) → aiosnow.query.condition.Condition¶ Example: short_description.contains(“SAP”)
All records in which the characters “SAP” appear anywhere in the value for the Short description field.
-
ends_with
(value: str) → aiosnow.query.condition.Condition¶ Example: short_description.ends_with(“outage”)
All records in which the string “outage” appears at the end of the value for the Short description field.
-
equals
(value: str) → aiosnow.query.condition.Condition¶ Example: short_description.equals(“Network storage is unavailable”)
All records in which the Short description says nothing else but “Network storage is unavailable.”
-
greater_or_equals
(value: str) → aiosnow.query.condition.Condition¶ Example: short_description.greater_or_equals(“s”)
- All records in which the string in the Short description field is one of the following:
- the first letter is any letter between “s” and “z”
- the exact value is “s”
-
less_or_equals
(value: str) → aiosnow.query.condition.Condition¶ Example: short_description.less_or_equals(“s”)
- All records in which the string in the Short description field is one of the following:
- the first letter is any letter between “a” and “s”
- the exact value is “s”
-
not_contains
(value: str) → aiosnow.query.condition.Condition¶ Example: short_description.not_contains(“SAP”)
All records in which the characters “SAP” do not appear anywhere in the value for the Short description field.
-
not_equals
(value: str) → aiosnow.query.condition.Condition¶ Example: short_description.not_equals(“Network storage is unavailable”)
All records in which the value for the Short description field says anything but “Network storage is unavailable.”
-
starts_with
(value: str) → aiosnow.query.condition.Condition¶ Example: short_description.starts_with(“SAP”)
All records in which the characters “SAP” appear at the beginning of the value for the Short description field.
-
-
class
aiosnow.fields.string.
String
(*args, pluck: aiosnow.models._schema.helpers.pluck.Pluck = <Pluck.VALUE: 'value'>, is_primary: bool = False, **kwargs)¶