Import Layer to Connection
import_layer_to_connectionImports a loaded vector layer into a saved connection as a new table, such as PostgreSQL or GeoPackage. Fails if the table exists unless overwrite is enabled.
Instructions
Write a loaded vector layer into a saved connection as a new table (PostgreSQL, GeoPackage, ...). Fails if the table exists unless overwrite=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | ||
| layer_id | Yes | ||
| provider | Yes | ||
| overwrite | No | ||
| connection | Yes |