mirror of
https://github.com/d3vyce/sqlalchemy-pgview.git
synced 2026-08-05 02:34:09 +00:00
Initial commit
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,7 @@
|
||||
# `get_materialized_views`
|
||||
|
||||
```python
|
||||
from sqlalchemy_pgview import get_materialized_views
|
||||
```
|
||||
|
||||
::: sqlalchemy_pgview.get_materialized_views
|
||||
@@ -0,0 +1,7 @@
|
||||
# `get_views`
|
||||
|
||||
```python
|
||||
from sqlalchemy_pgview import get_views
|
||||
```
|
||||
|
||||
::: sqlalchemy_pgview.get_views
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user