How to Use GORM to Interact With Your SQL Databases in Golang
Offered By: Donald Feury via YouTube
Course Description
Overview
Learn how to use GORM, a Code-First ORM for Golang, to interact with SQL databases without writing raw SQL. Discover techniques for defining database schemas using Go structs, performing migrations, seeding data, and executing various database operations. Explore methods for connecting to databases, enabling verbose logging, retrieving data with complex queries, and handling errors effectively. Master the art of leveraging GORM's powerful features to streamline database interactions in your Golang projects.
Syllabus
- Overview
- Using structs to define tables
- Migrations
- Seeding the database
- Find first result
- Connect to database
- Verbose logging
- Get all users
- Get all messages made by user
- Review generated queries
- Error handling
- Review
Taught by
Donald Feury
Related Courses
Building Web Applications in DjangoUniversity of Michigan via Coursera Building Web Applications in Django
University of Michigan via edX Build a Backend with Prisma in a TypeScript Node Project
egghead.io Laravel 5 Essential Training
LinkedIn Learning Laravel 5 Essential Training
LinkedIn Learning