Hello! Is there a way to say "with (nolock)" using honeysql?
@alexandra.lysenko018 Is that ANSI SQL syntax or a vendor-specific extension?
Are there real plans for HoneySQL 2.0 or are you just teasing us @seancorfield? π
@janne.sauvala Real plans. I have a OneNote section with pages of notes about it. So, it's very much in the hammock right now. But it will happen.
There's a milestone as well, with a few high-level tickets https://github.com/seancorfield/honeysql/milestones/2.0.0
Thatβs awesome! Thanks for all of your work with honey sql and other libs π:skin-tone-2:
it's an sql server hint. example: "from some-table with (nolock)"
Oh this turned out to be easy,
(from [:mytable [:m "WITH (NOLOCK)"]])
Thanks π
HoneySQL doesn't support vendor-specific extensions in general. You can extend the multimethods yourself to add support for new stuff.
Ah, that probably works more by accident than by design...
I want to make this sort of thing easier/more predictable when I design HoneySQL 2.0 π