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
Разработка веб-сервисов на Go - основы языкаMoscow Institute of Physics and Technology via Coursera Getting Started with Go
University of California, Irvine via Coursera Concurrency in Go
University of California, Irvine via Coursera Functions, Methods, and Interfaces in Go
University of California, Irvine via Coursera Game Thinking: Juego y toma de decisiones
The Pontificia Universidad Javeriana via edX