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

feat: add parameterized queries #33

Merged
merged 5 commits into from
Jan 27, 2022
Merged

feat: add parameterized queries #33

merged 5 commits into from
Jan 27, 2022

Conversation

michaelahojna
Copy link
Contributor

@michaelahojna michaelahojna commented Jan 24, 2022

Closes #

Proposed Changes

feat: add parameterized queries

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • pub run test completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

Comment on lines 45 to 46
query.dialect = query.dialect ?? DEFAULT_dialect;
query.dialect = dialect ?? query.dialect;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dialect can be null in queryRaw. In that case raw response is without annotations

like:

',result,table,_time,_value,_field,_measurement,location\r\n'
',_result,0,1970-01-01T00:00:00.000000001Z,999,value,temperature,north\r\n'
',_result,1,1970-01-01T00:00:00.000000002Z,111,value,temperature,south\r\n'
'\r\n'

@michaelahojna michaelahojna marked this pull request as ready for review January 24, 2022 13:56
@bednar bednar merged commit 8c5f0d9 into main Jan 27, 2022
@bednar bednar deleted the Issue29 branch January 27, 2022 09:07
@bednar bednar added this to the 2.2.0 milestone Jan 27, 2022
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

Successfully merging this pull request may close these issues.

3 participants