YoVDO

How to Use GORM to Interact With Your SQL Databases in Golang

Offered By: Donald Feury via YouTube

Tags

Go Courses SQL Courses Object-Relational Mapping (ORM) Courses Golang Courses

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

Introduction to Databases
Meta via Coursera
Web Development
Udacity
Introduction to Data Science
University of Washington via Coursera
Datenmanagement mit SQL
openHPI
Sabermetrics 101: Introduction to Baseball Analytics
Boston University via edX