MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / postgres_json_contains

Function postgres_json_contains

tortoise/contrib/postgres/json_functions.py:40–41  ·  view source on GitHub ↗
(field: Term, value: str)

Source from the content-addressed store, hash-verified

38
39
40def postgres_json_contains(field: Term, value: str) -> Criterion:
41 return BasicCriterion(JSONOperators.CONTAINS, field, ValueWrapper(value))
42
43
44def postgres_json_contained_by(field: Term, value: str) -> Criterion:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…