Initial commit

This commit is contained in:
2026-02-08 10:09:48 +01:00
commit d165506add
58 changed files with 9879 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# `AutoRefreshContext` class
Context manager for auto-refreshing materialized views when using SQLAlchemy Core.
```python
from sqlalchemy_pgview import AutoRefreshContext
```
::: sqlalchemy_pgview.AutoRefreshContext

View File

@@ -0,0 +1,7 @@
# `get_materialized_views`
```python
from sqlalchemy_pgview import get_materialized_views
```
::: sqlalchemy_pgview.get_materialized_views

View File

@@ -0,0 +1,7 @@
# `get_views`
```python
from sqlalchemy_pgview import get_views
```
::: sqlalchemy_pgview.get_views

View File

@@ -0,0 +1,13 @@
# `MaterializedView` class
Here's the reference for the `MaterializedView` class, which extends `View` with materialized view features.
```python
from sqlalchemy_pgview import MaterializedView
```
::: sqlalchemy_pgview.MaterializedView
options:
members:
- refresh
- auto_refresh_on

17
docs/api/views/view.md Normal file
View File

@@ -0,0 +1,17 @@
# `View` class
Here's the reference for the `View` class, with all its parameters, attributes and methods.
You can import it directly from `sqlalchemy_pgview`:
```python
from sqlalchemy_pgview import View
```
::: sqlalchemy_pgview.View
options:
members:
- fullname
- columns
- as_table
- as_from_clause