Import Layer to Connection
import_layer_to_connectionExport a loaded vector layer to a database connection (PostgreSQL, GeoPackage) as a new table. Default prevents overwriting existing tables; enable overwrite to replace.
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 |