doobie
doobie copied to clipboard
BigInt Meta?
Hi tpolecat, thanks for doobie mate, it rocks.
I would like a Meta[BigInt]
for working with MySQL. We're just defining it in our own code for now, although I'm not confident in the implementation, but it would be grand if this instance could be provided by a doobie-contrib-mysql
package or something like that. I see that was mentioned in #81 but I'm not sure that that went anywhere.
Hi @george-wilson-rea, A PR adding doobie-mysql
submodule would be welcome.
You can follow the pattern laid out in the postgres submodule
- https://github.com/tpolecat/doobie/blob/main/modules/postgres/src/main/scala/doobie/postgres/Instances.scala
- https://github.com/tpolecat/doobie/blob/main/modules/postgres/src/main/scala/doobie/postgres/package.scala
Let me know if you have any questions.