DEV Community

Jonathan VUILLEMIN
Jonathan VUILLEMIN

Posted on • Edited 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)

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay