Closed adamwespiser closed 3 years ago
I think I may have messed up CI. Can you merge dev
back into this branch @adamwespiser ?
I think I may have messed up CI. Can you merge
dev
back into this branch @adamwespiser ?
Yes, the CI was broken, I just rebased off dev and pushed back
Ok, now I wonder if we should put hasInfix
in simspace-squeal
instead of Squeal proper? The reason being that it's not an actual Postgres function, nor operator, and Squeal's design is intended to be fairly low-level over Postgres.
Moving hasInfix
to simspace-squeal
would be appropriate, as it introduces a new concept over Postgresql
@echatav I removed hasInfix
, updated the PR description, and CI is passing.
Adds a type family to combine nullity of two arguments, and two functions for determining if a string is a substring of another string. I've wrote a version
strpos
a few of times while writing application code, and think it'd be a useful addition tosqueal
, as it directly mirrors an existing Postgresql.