tursodatabase / libsql-client-go

Go client API for libSQL
MIT License
159 stars 23 forks source link

fix: always check against lowercase #90

Closed ekristen closed 7 months ago

ekristen commented 7 months ago

For me these values are lowercase. I'm unsure when they are upper case, but this fixes it so the comparison is always lowercase, without this I was hitting unsupported scan errors. Also everything else happens to be lowercase as well, so I'm unsure if the strings.ToLower is required, but I put it there just in case the values can be all caps.