In sqldelight, when making raw queries, how to ens...
# squarelibraries
m
In sqldelight, when making raw queries, how to ensure identifiers do not conflict with generated query identifiers? Is there a range etc?
h
There is no range, we just use the sql query
.toString().hashcode
function
m
So I guess, I should use the same?
h
Well you could. But keep in mind, technically collisions are always possible, that’s unrelated to sqldelight though.
m
I was thinking, if I also use hashCode, then it will be no more likely to have collisions compared to if it was an identifier in the generated scenario