You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I run various text columns with indexes on them, ideally IndexMethod.hash as this provides good equality matching lookups. I run into an issue with this however during tests which run on sqlite, as Piccolo will exit with an error if this index method is used. This is really not ideal and basically means I cannot use this index method at all as it is not feasible to run postgres just for test cases.
Possible I'm thinking of maybe adding another way to say to Piccolo, hey please map this to a usable sqlite index instead of erroring, either by app level variable of a column argument like sqlite_index_method. I.e. In my use case it is fine for IndexMethod.hash to be mapped to IndexMethod.btree if the DB is sqlite, as long
I also may be overlooking something, perhaps there is a way to do this already?