Skip to content

Conversation

@olavloite
Copy link
Collaborator

Adds functions for parsing statement hint values from SQL strings. These functions are currently not used by the driver, will eventually be used to allow SQL strings to contain hints that sets connection variables only for the duration of the execution of a statement. That is, the following will eventually be supported:

@{ statement_tag='my_tag', statement_timeout='100ms' } select * from my_table where key=@key

The given statement_tag and statement_timeout will only be applied to the current statement.

Adds functions for parsing statement hint values from SQL strings. These functions are currently
not used by the driver, will eventually be used to allow SQL strings to contain hints that sets
connection variables only for the duration of the execution of a statement. That is, the following
will eventually be supported:

```sql
@{ statement_tag='my_tag', statement_timeout='100ms' } select * from my_table where key=@key
```

The given statement_tag and statement_timeout will only be applied to the current statement.
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.

2 participants