DEV Community

Cover image for Build better structured databases with Golang Gorm
Kenzy Limon
Kenzy Limon

Posted on

2

Build better structured databases with Golang Gorm

GORM is a great ORM library for Go developers. with incredible feature lists and speed, it is considered the standard GO ORM.

Image description

Apart from being an excellent ORM for Go developers, its built to be developer-friendly and easy to comprehend. Gorm is built on top of the database/sql packages.

overview and features of the ORM are:

  • Developer Friendly
  • Every feature comes with a tests
  • Hooks / Callbacks (Before/After Create/Save/Update/Delete/Find)
  • Eager loading with Preload, Joins Context, Prepared Statement Mode, DryRun Mode SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, Named Argument, SubQuery
  • Transactions, Nested Transactions, Save Point, Rollback To to Saved Point
  • Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
  • SQL Builder
  • Logger

Continue reading on Medium Post

Want to keep in touch online? Medium | Twitter | Instagram | Behance

API Trace View

Struggling with slow API calls? πŸ‘€

Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more β†’

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

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

Okay