Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Key Value Hash #105

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Feb 13, 2019

  1. Add Support for Hash Maps

    This will add an additional configuration flag that, if enabled, will
    output the changes in a hash map rather than a series of arrays. When
    enabled, the output will look something like this:
    
    ```json
    {
    	"change": [
    		{
    			"kind": "insert",
    			"schema": "public",
    			"table": "table_with_pk",
    			"changes": {
    				"a": 18,
    				"b": "Test Insert",
    				"c": "2019-01-11 07:05:33.047587"
    			},
    			"columntypes": {
    				"a": "integer",
    				"b": "character varying(30)",
    				"c": "timestamp without time zone"
    			}
    		}
    	]
    }
    ```
    nHurD committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    237b216 View commit details
    Browse the repository at this point in the history
  2. Add Tests

    Add additional tests to ensure the new key value functionality works
    as expected.
    nHurD committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    3c71e39 View commit details
    Browse the repository at this point in the history