You can either setup the loader by passing the postgresql url or by providing the config data. For more details on how to setup with valid url and config, check postgres documentation.
NOTE: if you provide the url
field in config, all other fields will be ignored.
NOTE: The add
function of the app will accept any executable query to load data. DO NOT pass the CREATE
, INSERT
queries in add
function as they will result in not adding any data, so it is pointless.