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

Improve debug output #4

Open
langpavel opened this issue Mar 23, 2016 · 0 comments
Open

Improve debug output #4

langpavel opened this issue Mar 23, 2016 · 0 comments
Assignees

Comments

@langpavel
Copy link
Owner

Output of debug package is not much pretty, especially when query got SqlFragment as input (using template tag):

  pg-async query params: ["2016-03-23T22:28:59.609Z","0.0.0","1.8","Platne","Plna","S query: {"_parts":["\n      INSERT INTO \"ruian_file\" (\"import_od\",\"verze_cli\",\"verze_vfr\",\"typ_zaznamu\",\"typ_davky\",\"typ_souboru\",\"datum\",\"transakce_od_id\",\"transakce_od_zapsano\",\"transakce_do_id\",\"transakce_do_zapsano\",\"platnost_dat_isui\",\"platnost_dat_iskn\") VALUES (",",",",",",",",",",",",",",",",",",",",",",",",",") RETURNING id\n    "],"values":["2016-03-23T22:28:59.609Z","0.0.0","1.8","Platne","Plna","ST_UCIS","2016-02-04T00:10:09.000Z","0","2012-06-29T01:36:44.000Z","1104587","2016-02-03T15:59:47.000Z","2016-02-03T14:27:41.000Z","2016-02-03T15:59:47.000Z"],"text":"\n      INSERT INTO \"ruian_file\" (\"import_od\",\"verze_cli\",\"verze_vfr\",\"typ_zaznamu\",\"typ_davky\",\"typ_souboru\",\"datum\",\"transakce_od_id\",\"transakce_od_zapsano\",\"transakce_do_id\",\"transakce_do_zapsano\",\"platnost_dat_isui\",\"platnost_dat_iskn\") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13) RETURNING id\n    ","rowMode":"array"} +7ms
@langpavel langpavel self-assigned this Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant