Python
morph_lib.database.insert_records
Inserts data into tables in databases connected via built-in PostgreSQL or SQL Connection.
Supported Databases
- PostgreSQL
Parameters
data
pd.DataFrame
requiredThe actual data to pass to the function. The columns specified in primary_keys must exist.
table_name
str
requiredSpecify the table name.
connection
str
Destination of the connection other than the registered builtin connection (optional)
*If not specified, it will be set to the built-in PostgreSQL.