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 comment support to queries #11

Open
darkain opened this issue Dec 13, 2019 · 0 comments
Open

Add comment support to queries #11

darkain opened this issue Dec 13, 2019 · 0 comments

Comments

@darkain
Copy link
Owner

darkain commented Dec 13, 2019

eg: SELECT /* some notes */ FROM blah

Doing this enables a few debugging things.

  1. they show up in (slow) query logs.
  2. $pudl->query() will contain this additional text.

API: $pudl->comment('some notes')->row('blah');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant