Skip to main content
Deletes records from tables in databases connected with built-in PostgreSQL and SQL Connection.
morph_lib.database
対応データベース
  • PostgreSQL
  • MySQL
  • Snowflake
  • BigQuery
  • Amazon Redshift

Parameters

data
pd.DataFrame
required
Actual data to be passed to the function. The columns specified in primary_keys must exist.
primary_keys
List[str]
required
Specify the column names that will be the Primary Key of the table.
table_name
str
required
Specify the table name.
connection
str
The destination of the connection other than the built-in registered on the screen (optional)
  • If not specified, it will be set to built-in postgresql.

Example