shkm/enummer

Consider adapters

Opened this issue · 0 comments

shkm commented

Right now we use the same implementation for any database, but it would be preferable to support optimizations in each. Postgres, for example, provides a bitstring field which was actually the original enummer implementation; whilst it's a little more complex to code around, I believe it can use indexes and should therefore be preferred under that DB.