# tbl_everything()

Select every table.

Usage

[Source](https://github.com/posit-dev/pointblank/blob/main/pointblank/standard.py#L492-L535)

``` python
tbl_everything()
```

[tbl_everything()](../reference/tbl_everything.md#pointblank.tbl_everything) selects all the tables of a source. It's what a [`Standard`](../reference/Standard.md#pointblank.Standard) uses when neither it nor [`Standard.apply()`](../reference/Standard.apply.md#pointblank.Standard.apply) has an `applies_to=` selector, so it's mostly useful for clarity, or as the start of a selection that leaves some tables out (e.g., `pb.tbl_everything() - pb.tbl_starts_with("tmp_")`).

## Returns

`TableSelector`  
A table selector, which can be combined with other table selectors with `&` (and), `|` (or), `-` (difference), and `~` (not).

## Examples

A baseline standard often applies to every table but a few. Here, the scratch tables are left out:

``` python
import pointblank as pb
import polars as pl

tables = {
    "orders": pl.DataFrame({"id": [1, 2]}),
    "customers": pl.DataFrame({"id": [1, 2]}),
    "tmp_scratch": pl.DataFrame({"id": [1, 1]}),
}

baseline_standard = pb.Standard(
    name="baseline",
    steps=[pb.Step("rows_distinct")],
    applies_to=pb.tbl_everything() - pb.tbl_starts_with("tmp_"),
)

baseline_standard.find_tables(tables)
```

    ['orders', 'customers']

New tables are picked up the next time the standard is applied, unless their names start with `"tmp_"`.
