Rust: Diesel tutorial with Sqlite

  Рет қаралды 6,953

Crazcalm's Tech Stack

Crazcalm's Tech Stack

Күн бұрын

Пікірлер: 49
@Sheence
@Sheence Жыл бұрын
The docs for getting started with SQLite using Diesel are... non existent. This is exactly what I was looking for. Thanks so much!
@notker88
@notker88 Жыл бұрын
Yes this crate is an absolute nightmare in regards to docu
@majweezy
@majweezy Жыл бұрын
bruv exacly what i was looking for good shit keep moving
@codyziebko7713
@codyziebko7713 3 жыл бұрын
Oh man. I am a new programmer learning rust as my first language and this was so helpful! :DDD
@CrazcalmsTechStack
@CrazcalmsTechStack 3 жыл бұрын
Nice! I wish you the best of luck on your journey!!!
@sakitanaoto8681
@sakitanaoto8681 2 жыл бұрын
Nice video man keep up the good work! Rust community needs videos like this
@ostapsulyk
@ostapsulyk 2 жыл бұрын
Siiiiirrrrr THANK YOU SO MUCH! I don't know what it is but you nailed to answer all the questions i had, and overall its a great video.
@CrazcalmsTechStack
@CrazcalmsTechStack 2 жыл бұрын
Thanks!
@danielceballos9617
@danielceballos9617 4 жыл бұрын
Gracias por tu apoyo a la comunidad amigo. ¡Me ayudaste mucho! Saludos desde México
@jocketf3083
@jocketf3083 4 жыл бұрын
This gives me a very good overview of what Diesel is like. Thank you!
@rolandbjorn7982
@rolandbjorn7982 3 жыл бұрын
i know I'm kind of randomly asking but do anyone know of a good site to stream new series online?
@musaamir1210
@musaamir1210 3 жыл бұрын
@Roland Bjorn I would suggest Flixzone. Just google for it :)
@nasirwillie2136
@nasirwillie2136 3 жыл бұрын
@Musa Amir Yea, have been using FlixZone for years myself :)
@rolandbjorn7982
@rolandbjorn7982 3 жыл бұрын
@Musa Amir Thanks, I went there and it seems to work =) I appreciate it !
@musaamir1210
@musaamir1210 3 жыл бұрын
@Roland Bjorn Happy to help =)
@ajinkyax
@ajinkyax 4 жыл бұрын
i really like the way you show how to read docs.rs and learn along :)
@lol-kb8hz
@lol-kb8hz 4 жыл бұрын
i like you a lot dude as a person you seem super nice and chill its fun listening to you much love and ofc i subbed
@CrazcalmsTechStack
@CrazcalmsTechStack 4 жыл бұрын
Thanks!!!
@lol-kb8hz
@lol-kb8hz 4 жыл бұрын
@@CrazcalmsTechStack yw buddy im having a real rough time rn and ur vids really help man
@0xhiro
@0xhiro 2 жыл бұрын
Man you are amazing. Love your videos.
@Vancha112
@Vancha112 4 жыл бұрын
Thanks ^^ just halfway through this video! Will continue when I have more time. Looks like it will come in useful ^^
@duncanmoiyo6069
@duncanmoiyo6069 Жыл бұрын
I've been trying to develop a desktop app using Tauri with an embedded sqlite db, but it's been challenging. With this tutorial, I guess I will be able to complete the app. Thanks
@hashkeeper
@hashkeeper 3 жыл бұрын
dude, rust sqlite tutorial, thank you. that's clutch
@CrazcalmsTechStack
@CrazcalmsTechStack 3 жыл бұрын
No worries! I am glad you found it useful!
@hashkeeper
@hashkeeper 3 жыл бұрын
@@CrazcalmsTechStack ORM, that explained an almost existential worry for me! I was wondering how I'd handle that process on my own, seems daunting without the library! thanks again, youre helping me make strides
@GernotPokorny
@GernotPokorny Жыл бұрын
lol. I haven't really looked into it, but it's good to know that it is here :D
@joelmontesdeoca6572
@joelmontesdeoca6572 3 жыл бұрын
Awesome, thanks! I'm going to see if I open an issue with the Diesel project to translate the tutorial to all supported databases. 👍
@CrazcalmsTechStack
@CrazcalmsTechStack 3 жыл бұрын
Thank you!!!
@joelmontesdeoca6572
@joelmontesdeoca6572 3 жыл бұрын
@@CrazcalmsTechStack Yeah, no problem. Here's the issue if anyone else wants to chime in. (github.com/sgrif/diesel.rs-website/issues/130). I used your video to show some of the trouble spots of following the PostgreSQL guide when setting up an SQLite backend. By the way, the Diesel repository has the guide's code example done for SQLite: github.com/diesel-rs/diesel/tree/master/examples/sqlite
@CrazcalmsTechStack
@CrazcalmsTechStack 3 жыл бұрын
Knowing that the source code is in the repo is a big find!!! Thanks again!
@GernotPokorny
@GernotPokorny Жыл бұрын
No need to replace get_result, you can do the following: diesel = { version = "2.1.0", features = ["sqlite", "returning_clauses_for_sqlite_3_35"] }
@CrazcalmsTechStack
@CrazcalmsTechStack Жыл бұрын
It looks like this feature was added well after i did the video. github.com/diesel-rs/diesel/commit/fda3410c1715a7cf57ae08f7969e297aa1762217 Thanks for adding the new way of doing things in a comment! I'm glad to see that SQLite support is improving ❤️
@midwestmetro6361
@midwestmetro6361 2 жыл бұрын
best teacher for me
@CrazcalmsTechStack
@CrazcalmsTechStack 2 жыл бұрын
Thanks!
@jafd7806
@jafd7806 4 жыл бұрын
Great tutorial bro. I suscribed to keep follow your videos
@CrazcalmsTechStack
@CrazcalmsTechStack 4 жыл бұрын
Thanks!!!
@Gubq
@Gubq 2 жыл бұрын
Thank you, nice video!
@jaydeepsharma9528
@jaydeepsharma9528 2 жыл бұрын
I am having this error LINK : fatal error LNK1181: cannot open input file 'sqlite3.lib' can anyone help?
@majweezy
@majweezy Жыл бұрын
does he have a full tutorial on rust ? cause i could listen to him explain this all day
@n.d.9796
@n.d.9796 2 жыл бұрын
Thanks for the video!
@valderamen4877
@valderamen4877 4 жыл бұрын
Really great! I was fighting to use it with sqlite, until this video. Btw, which shell do u use? It looks nice
@CrazcalmsTechStack
@CrazcalmsTechStack 4 жыл бұрын
Awwwww! Thanks!!! I use starship in my terminal. starship.rs/
@m12652
@m12652 22 күн бұрын
Seriously folks... learn to write sql and drop the orms, its not hard, you just have to learn it...
@Sashin9000
@Sashin9000 2 жыл бұрын
How did you make your terminal give you info on your project? Like how it says "Diesel Demo is..."
@CrazcalmsTechStack
@CrazcalmsTechStack 2 жыл бұрын
I am using starship's default seetings for that. starship.rs/
@Sashin9000
@Sashin9000 2 жыл бұрын
@@CrazcalmsTechStack Thanks will check it out! Already using Oh My Zsh, I wonder if they are mutually exclusive.
@GernotPokorny
@GernotPokorny Жыл бұрын
This whole crate is a total nightmare from a documentation perspektive... $ cargo install diesel_cli --no-default-features --features sqlite error: linking with `link.exe` failed: exit code: 1181 ... much text... = note: LINK : fatal error LNK1181: cannot open input file 'sqlite3.lib' error: could not compile `diesel_cli` due to previous error error: failed to compile `diesel_cli v2.1.0`, intermediate artifacts can be found at `C:\Users\pokor\AppData\Local\Temp\cargo-installMxm8vN`
@047sriramn9
@047sriramn9 6 ай бұрын
you need to add the path c\programfiles\sqlite3\version\bin path in the environment variables
@mhacnagbani
@mhacnagbani 5 ай бұрын
Nth time I'm watching this as I keep forgetting and the docs are still the same. by the way you can also run `diesel setup --database-url ./data/sqlite.db` to directly provide DATABASE_URL and don't `dotenv` crate. And thanks a ton for the video.
Rust & SQL Databases (With Diesel)
15:00
Code to the Moon
Рет қаралды 64 М.
«Осень». Самая большая загадка Windows XP
14:36
Девять десятых
Рет қаралды 1,2 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 40 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 10 МЛН
SQLc is the perfect tool for those who don't like ORMs
28:11
Dreams of Code
Рет қаралды 102 М.
Rust: rusqlite tutorial (part 1)
36:03
Crazcalm's Tech Stack
Рет қаралды 4,3 М.
Diesel ORM - Rust + Actix Web + PostgreSQL
46:02
Bocksdin Coding
Рет қаралды 13 М.
Rust: GTK Overview
30:46
Crazcalm's Tech Stack
Рет қаралды 9 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 673 М.
Build A Full Stack Chatbot in Rust (feat. Leptos & Rustformers)
43:40
Code to the Moon
Рет қаралды 167 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 181 М.
Build A Rust Backend (Really FAST Web Services with Actix Web)
32:44
Code to the Moon
Рет қаралды 155 М.
Повербанк для Apple Watch
0:34
Romancev768
Рет қаралды 529 М.
👍🏻 Samsung Galaxy A56 - ЕГО ЗАХОТЯТ ВСЕ! Xiaomi так не сможет…
12:05
Thebox - о технике и гаджетах
Рет қаралды 178 М.
Зачем вам нужен телефон?
0:31
Apros I
Рет қаралды 143 М.
Проверил, как вам?
0:53
Коннор
Рет қаралды 573 М.
Кто-то купил WinRar? #shorts #шортс #новости #факты
0:53
This is Хорошо
Рет қаралды 4,2 МЛН