Open
Description
When using UUIDs that start with a number (like 25af01bd-c1c2-44d9-a26b-c236a403b59e
) as keys for the param map, the leading numbers are used as the key instead of the entire UUID (meaning the value from the param map isn't parsed to the query either).
For example, if running a query like SELECT * FROM item WHERE productId = :895e7ebc-bbb4-40f7-8808-ab250986dabb
with the param map like { '895e7ebc-bbb4-40f7-8808-ab250986dabb': 35 }
, the resulting query looks like:
SELECT * FROM item WHERE productId = ?e7ebc-bbb4-40f7-8808-ab250986dabb
, with the args being [undefined]
.
Is there a reason the regex is only pulling the numeric characters when the leading character is a number?
Metadata
Metadata
Assignees
Labels
No labels