# `Ash.Query.Parent`
[🔗](https://github.com/ash-project/ash/blob/v3.27.8/lib/ash/query/function/parent.ex#L5)

Used to access values from the "source" of a given expression.

This is used in cases where expressions are given for some relationship path, for example:any()

```elixir
 has_many :foo, Foo do
   filter expr(priority == :foo and type == parent(foo_type))
 end
```

This is supported on a case by case basis by a given data layer and in specific usages.

# `new`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
