Skip to content

Commit

Permalink
Add building of one or more views from dictionaries - documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Oct 15, 2023
1 parent 631114c commit 51f50f7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions documentation/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ org_type_view = view(
metadata=Base.metadata,
selectable=select(*DBOrgType.__table__.columns),
)
date_view_params = {
"name": "date_view",
"metadata": Base.metadata,
"selectable": select(*DBTestDate.__table__.columns),
}
date_view = build_view(date_view_params)
date_view = build_views([date_view_params])[0]
```

## PostgreSQL specific
Expand Down

0 comments on commit 51f50f7

Please sign in to comment.