Тёмный

Golang SQL Beginner Tutorial + SQLX 

LetsCode
Подписаться 2,9 тыс.
Просмотров 11 тыс.
50% 1

Learn how to connect to a sql database in go. Execute queries and map data from the database into structs/slices. Also taking a look at the sqlx package to make life easier.
Posts Table Schema:
create table posts
(
id bigint unsigned auto_increment primary key,
title varchar(255) not null,
content text not null,
created_at timestamp default current_timestamp() not null
);

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@abdicodes
@abdicodes 3 года назад
Awesome, tutorial! Also your microphone is so buttery smoooooth
@letscode7478
@letscode7478 3 года назад
Thanks! I've been wrestling with my microphone and audio editing for ages, glad to hear its getting better :D
@selvakumarmurugesan9013
@selvakumarmurugesan9013 Год назад
Is the video blurry only for me? I am not able to clearly see the video content.
@pokinchaitanasakul-boss3370
@pokinchaitanasakul-boss3370 3 года назад
Great video, easy to understand
@playpoint5792
@playpoint5792 2 года назад
Hi we really need more golang videos...Please make them..Your explanation was so simple and better than others. Also if u can just show once the update controller it will be so helpful
@AGISSERVER
@AGISSERVER 3 года назад
hi, how to chang code style same your in goland. != how to chang style show same you ?
@richardwilliam7030
@richardwilliam7030 2 года назад
Please make a video on validating the request body
@aidynomarov1914
@aidynomarov1914 2 года назад
How to update rows using sqlx?
@dkshadow709
@dkshadow709 3 года назад
Have you considered making a simple react + redux + typescript auth web app? I really loved your react + redux + TS video, gave me a good starting point for learning TS. I know people say that there's no perfect tutorial but I think they just haven't found your video yet =)
@letscode7478
@letscode7478 3 года назад
Thanks for support and compliment really appreciate it. I really want to make a complete project with react + TS + backend (maybe node or something). The only problems I face is that I don't want it to be a useless project, like a to do app that just about everyone creates. But also creating something too complex makes it harder to follow and difficult carry on the knowledge to future projects for my viewers. I am also aware that people generally like to see redux but I really dislike redux and think there are better ways to manage caching data. In addition to this my node knowledge isn't the best and could defiantly do with some improvements. If you have any ideas of a project that isn't too simple like a todo app, then I can try and start planning a short series. Once again thanks for the compliment.
@dkshadow709
@dkshadow709 3 года назад
@@letscode7478 Maybe a suggestion would be something like the medium clone, conduit? I also don't really like redux, but the main reason why I'm sticking with it is that companies use it and since I'm job hunting I have to know it. Another reason why I wanted to learn TS.
@hayrivonnebenan5127
@hayrivonnebenan5127 2 года назад
What ide and db client do you use ?
@macklemo5968
@macklemo5968 2 года назад
i find your style of explaining really nice, but its frustrating that you are showing how to do sql operations with go with all these extensive addons, like Postman, or this gin thingy. Also it would be nice if you show the error handling statements everytime. As a newbeginner, I feel like it's important to get a thorough understanding of the topic. Additionally, I want to implement the newly learned stuff as fast as possible, w/o having to learn about these addons you're using as well. Please stick to the basics next time and do a groundup education, with as little extra addons as possible!
@alexpena9927
@alexpena9927 3 года назад
Wow, uploaded right when I needed this video.
@letscode7478
@letscode7478 3 года назад
Great to hear, hope its what your looking for 👍
Далее
С какого года вы со мной?
00:13
Просмотров 186 тыс.
Wait... PostgreSQL can do WHAT?
20:33
Просмотров 196 тыс.
Beginners Should Think Differently When Writing Golang
11:35
Go Pointers: When & How To Use Them Efficiently
14:09