I read the SQueryL update documentation and I saw:
update(songs)(s =>
where(s.title === "Watermelon Man")
set(s.title := "The Watermelon Man",
s.year := s.year.~ + 1)
)
It was hard for me to find the ~ method from SQueryL source code, and the related documentation obviously doesn't tell me what it does. Anyone want to explain?
source
share