# `PgRest.AST.Logic`
[🔗](https://github.com/agoodway/pgrest/blob/v0.2.0/lib/pg_rest/ast.ex#L69)

An `and`/`or` node of a logic tree, optionally negated (`not.and`, `not.or`).

# `t`

```elixir
@type t() :: %PgRest.AST.Logic{
  children: [PgRest.AST.Condition.t() | t()],
  negate: boolean(),
  op: :and | :or
}
```

---

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