` `
Imports a vector layer currently loaded in QGIS into a PostGIS database. Prior to this a connection between QGIS and the PostGIS database has to be created (for example with the DB Manager).
インポートするレイヤー
[ベクター:任意]Database (connection name)
[selection]Name of the database connection (not the database name).
Options:
Default: 0
スキーマ(スキーマ名)
[文字列]An existing schema of the selected database can be chosen. By default this is the ‘public’ schema.
デフォルト: public
インポートするテーブル(レイヤー名を使用するには空白のままにします)
[文字列]Defines a table name for the imported vector file. By default the name of the vector file is chosen.
デフォルト:(設定されていません)
主キーフィールド
[テーブルフィールド:任意]Optional.
主キーフィールドをベクターレイヤーの既存のフィールドから設定します。
ジオメトリ列
[文字列]新しいPostGISのテーブルのジオメトリ列の名前を定義します。地物のジオメトリ情報は、この列に格納されています。
デフォルト: geom
上書き
[ブール値]同じ名前を持つ既存のテーブルを上書きします。
デフォルト:真
空間索引を作成する
[ブール値]Specify whether to create a spatial index or not. By default a spatial index is created.
デフォルト:真
フィールド名を小文字に変換する
[ブール値]If activated this prevents the field names of the input vector layer from being converted to lowercase. By default field names will be lowercase after the import.
デフォルト:真
文字フィールド上の長さの制約をドロップします
[ブール値]Specify whether the length constraints on character fields should be dropped or not. By default the length constraints are applied.
デフォルト:偽
processing.runalg('qgis:importintopostgis', input, database, schema, tablename, primary_key, geometry_column, overwrite, createindex, lowercase_names, drop_string_length)
Allows a SQL database query to be performed on a PostGIS database connected to QGIS.
データベース
[文字列]データベースの名前、接続名ではない。デフォルトでは、名前を記入する必要はありません、現在のデータベース接続が選択されます。
デフォルト:(設定されていません)
SQLクエリ
[文字列]Defines the SQL query, for example ‘create schema test;’.
デフォルト:(設定されていません)
processing.runalg('qgis:postgisexecutesql', database, sql)