> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/database/postgresql/returning-in-postgres.md).

# Returning in Postgres

* The <mark style="color:orange;">`returning`</mark> keyword is a way to return freshly inserted rows

```sql
INSERT INTO products (name, price, inventory) VALUES ('tortilla, 10, 10000) RETURNING;
```

* This should insert the new values and return them
*
