Skip to content

ardifirmansyah/dml-executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Prepare the configuration on root directory so that the file structure will be:

├─ config
│  ├── main.json
├─ dml-executor  <- the executable binary

Below are the sample configuration.

{  
  "database": {  
    "host": "127.0.0.1:5432",  
    "db_name": "postgres-db",  
    "type": "postgres"  
  },  
  "job_batch_limit": 2,
  "job_interval": 1,
  "table_name": "sample_table",
  "column_name": "sample_column",
  "reference_column": "id",
  "job_type": "set_empty"
}

You need to change:

  • database host
  • db_name
  • batch limit (rows)
  • job interval (in minutes)

Currently, we're supporting for set empty on varchar column.

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published