DEV Community

Jonathan VUILLEMIN
Jonathan VUILLEMIN

Posted on • Updated on

Yokai - new SQL module

Yokai, until today, came only with an ORM module (based on GORM), cause it has been the fastest way to provide DB access while having a good observability (logs, traces) by using GORM hooks.

We've been working on and just released an SQL module:

  • based on database/sql
  • with out of the box observability (SQL logs and traces)
  • with a migrations mechanism (based on Goose)
  • with a seeding mechanism (for testing)
  • with a hooking mechanism (to extend logic around SQL operations)

Since it's decorating database/sql, you can use tools like SQLC with it.

The documentation is here: https://ankorstore.github.io/yokai/modules/fxsql/

Hoping this may help 👍

Top comments (0)