1 files changed,
5 insertions(+),
3 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2025-06-09 20:17:10 +0300
Parent:
71747fc
M
after/queries/go/injections.scm
@@ -8,10 +8,12 @@ (#any-of? @_field "Exec" "ExecContext" "Query" "QueryContext" "QueryRow" "QueryRowContext"))
(argument_list [(interpreted_string_literal) (raw_string_literal)] @injection.content)) (#offset! @injection.content 0 1 0 -1) - (#set! injection.language "sql")) + (#set! injection.include-children) + (#set! injection.language sql)) ([(raw_string_literal) (interpreted_string_literal)] @injection.content - (#match? @injection.content "--sql" "-- sql" "--SQL" "-- SQL" ) + (#match? @injection.content "--sql" "-- sql" "--SQL" "-- SQL") (#offset! @injection.content 0 1 0 -1) - (#set! injection.language "sql")) + (#set! injection.include-children) + (#set! injection.language sql))