SQLite is not weakly typed!

  Рет қаралды 11,491

Aaron Francis

Aaron Francis

Күн бұрын

Пікірлер: 58
@aarondfrancis
@aarondfrancis 2 ай бұрын
Prefer to read instead of watching? Check out the article version of this video: aaronfrancis.com/2024/sqlite-is-not-weakly-typed-bfc98b9c
@alvechy
@alvechy 6 ай бұрын
My coding skills are not weak, they are flexible
@vikingthedude
@vikingthedude 6 ай бұрын
Aaron please never stop making videos im begging you
@aarondfrancis
@aarondfrancis 6 ай бұрын
😍 I gotchu!
@vikingthedude
@vikingthedude 6 ай бұрын
And please keep responding to every single comment
@aarondfrancis
@aarondfrancis 6 ай бұрын
@@vikingthedude haha I'll do my best but no promises there 😂
@LogicEu
@LogicEu 6 ай бұрын
Man, I love your enthusiasm and openness! Very nice tips going on here!
@ahmad-murery
@ahmad-murery 6 ай бұрын
SQLite is very similar to Excel/Spreadsheet like apps, a cell can hold any value unless you strictly specified a type, although nobody hates Excel for that as far as I know. The best thing about SQLite is that it doesn't require any installation other than your app. Thanks Aaron
@blessdarah1256
@blessdarah1256 6 ай бұрын
The passion is the only thing that keeps me glued. The knowledge simply follows from the later.
@thomas2446
@thomas2446 6 ай бұрын
the pacing on this video is perfect. go quickly in the beginning to get everyone caught up to speed, then explain what's going on
@NaourassDerouichi
@NaourassDerouichi 6 ай бұрын
This is the type of content I'm looking for.
@DanelonNicolas
@DanelonNicolas 6 ай бұрын
Turso works like a charm. nice video 💪🏻
@Levy957
@Levy957 6 ай бұрын
Love your series on MySQL, keep up the good work!
@АлексЕвдокимв
@АлексЕвдокимв 5 ай бұрын
It was very helpful.
@chrissalgaj4111
@chrissalgaj4111 6 ай бұрын
More SQLite videos please!!! 😊
@panggilmeiam
@panggilmeiam 6 ай бұрын
Yes! I need to learn Rust with some motivation that come from Aaron Francis podcast and KZbin Video PHP doesn't suck (anymore) Why not! Learning Rust is the same as I will become rust that can stick to sturdy scrap metal. That's quote in my DEV blog: You're re-motivated me Aaron! Now Turso/libSQL is near PHP Ecosystem. Thank you!
@aarondfrancis
@aarondfrancis 6 ай бұрын
I'm so so excited to play with all the stuff you've been doing. I just need 8 days in a week 🥵
@panggilmeiam
@panggilmeiam 6 ай бұрын
​@@aarondfrancis I've 1 kid, you have 2, maybe you need to doubled it and make it 16 days in a week!
@aarondfrancis
@aarondfrancis 6 ай бұрын
@@panggilmeiam I have four 🤐 2 sets of twins! So I'm well into the doubling already 🥵
@panggilmeiam
@panggilmeiam 6 ай бұрын
​@@aarondfrancis OhMyPunk! That's really amazing!!! Btw, I am really thank with you man... you're amazing person!
@MikkelMalmberg
@MikkelMalmberg 6 ай бұрын
The wink made me chuckle
@antonpetrov145
@antonpetrov145 6 ай бұрын
Awesome videos and very enjoyable. What color schemes do you use in the editor and terminal?
@joshr96
@joshr96 6 ай бұрын
Curious what the history is for the reason they chose dynamic types by default. Seems like a bit of a gun if you don't know this behavior and expecting the strict mode by default. Might have the dig up the docs to see why
@aarondfrancis
@aarondfrancis 6 ай бұрын
Honestly I think the creator just prefers it. He says as much in the docs
@weiSane
@weiSane 6 ай бұрын
That’s why you always read the documents.
@panstromek
@panstromek 6 ай бұрын
What I've read in the docs basically boiled down to "dynamic types were popular at the time"
@fran9426
@fran9426 6 ай бұрын
Great video! Is there a way to have strict behavior but allow a specific combination of types for example, integer OR string, but not anything else?
@Pbertrand_dev
@Pbertrand_dev 6 ай бұрын
will you ever review sqlpremium
@aarondfrancis
@aarondfrancis 6 ай бұрын
I... don't know what that is
@Pbertrand_dev
@Pbertrand_dev 6 ай бұрын
@@aarondfrancis lite is the free version right? so kinda assumed there would be a paid premium version
@JohnRoux
@JohnRoux 6 ай бұрын
😂 that went way over my head
@aarondfrancis
@aarondfrancis 6 ай бұрын
@@Pbertrand_dev lol, there is not. Although I suppose Turso is a premium version!
@blessdarah1256
@blessdarah1256 6 ай бұрын
@@Pbertrand_dev 🤣 This one got me cracking.
@peanut3645
@peanut3645 6 ай бұрын
This is helpful. Thanks 😃
@hayskapoy
@hayskapoy 6 ай бұрын
Very informative 🎉 thank you!
@IndraPrastha
@IndraPrastha 6 ай бұрын
Would creating a table from Laravel migration set it as flexible as default? or are there anyway to set it as strict from Laravel blueprint migration side?
@leonun
@leonun 6 ай бұрын
Great video, great info!! 👍👍👍👍
@stephenshead3636
@stephenshead3636 6 ай бұрын
Very helpful distinction - thanks. I've been mulling on a different question (I know, not what this video is about!): possible ramifications of the fact that SQLite is ... dunno if this is the right word ... "limitedly typed": null, integer, real, text, or blob, and (as I understand it) that list will never grow. I'm wrestling with the whole UUID/GUID question, and whether they can be done well and efficiently in SQLite (e.g. using a UUID as the PK, and with/without the "rowed"). Got a bunch of sub-questions / thoughts, including when and how that's a good idea anyway, but interested to know if you'd have something helpful to point me towards.
@gregorymoore2877
@gregorymoore2877 3 ай бұрын
You can use a column of type "TEXT" as the primary key. However, your application would have to generate the GUID and include it in the insert as SQLite does not currently generate GUIDs (that I'm aware of.) That would be a cool feature if they ever added it.
@DavidYoo-m7z
@DavidYoo-m7z 6 ай бұрын
Love that you struck out on your own but u deserve/need a full-time sponsor so u don't get spread thin doing 1/2 business management and 1/2 content creation, otherwise the stress will bleed into your videos. The world needs a relaxed AF with a dewy glow getting paid $600k/yr to drop deep cuts on us. You changed the game on SQL content, and you're a magnet for whatever tech you demonstrate so long as it's the same tech across across months/years. I hope some bluechip exec is smart enough to realize this.
@aarondfrancis
@aarondfrancis 6 ай бұрын
I also need me to have 600k a year!
@davaigo2170
@davaigo2170 6 ай бұрын
Cool. Nice video.
@MegaCystic
@MegaCystic 6 ай бұрын
where do you get your black t's at?
@MegaCystic
@MegaCystic 6 ай бұрын
Oh! Great video btw, as always
@aarondfrancis
@aarondfrancis 6 ай бұрын
Haha thanks! But to the important question: these are from Western Rise but I'm on the hunt for a new supplier. They're not as good as the price suggests.
@mzerone-g6m
@mzerone-g6m 6 ай бұрын
Is that sqlite video or 😂😂😂😂
@aarondfrancis
@aarondfrancis 6 ай бұрын
Huh?
@MultiDringus
@MultiDringus 6 ай бұрын
Handsome gay WASP
@aarondfrancis
@aarondfrancis 6 ай бұрын
Not gay, but thank you!
@RaflusEK
@RaflusEK 6 ай бұрын
SQLite == JS
@aarondfrancis
@aarondfrancis 6 ай бұрын
How dare you!
@shimadabr
@shimadabr 6 ай бұрын
Man, that was some gratuitous offense
@RaflusEK
@RaflusEK 6 ай бұрын
@@aarondfrancis It was funny joke but seriously I found it very similar to JS == and ===, one coerces and one does strict type checking , same concept as far as I understood it :p
@aarondfrancis
@aarondfrancis 6 ай бұрын
@@RaflusEK haha you're totally right, I was just bein silly
@raenastra
@raenastra Ай бұрын
this is interesting because what you're seeing in common with SQLite and JS is that they're both weakly typed - as in, data types are implicitly coerced. I'm not sure why the SQLite docs don't like calling the type system weakly typed, it's the correct label for this type of behavior in other programming languages
@kedniko
@kedniko 6 ай бұрын
First 🎉 😅
SQLite's WAL mode is fast fast
9:25
Aaron Francis
Рет қаралды 19 М.
Laravel Pennant: first-party feature flags
14:21
Aaron Francis
Рет қаралды 20 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 26 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 34 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 14 МЛН
SQLite for beginners: Datatypes
8:38
Mycelial
Рет қаралды 4,4 М.
Make self-healing URLs with Laravel
13:58
Aaron Francis
Рет қаралды 40 М.
Sqlite Is Getting So Good
28:52
ThePrimeTime
Рет қаралды 213 М.
SQLModel + FastAPI: Say Goodbye to Repetitive Database Code
19:50
SQLite for beginners: Fixing Slow Queries
10:10
Mycelial
Рет қаралды 6 М.
David Crawshaw   SQLite and Go
32:03
Go Northwest
Рет қаралды 37 М.
Tips for handling timezones in Postgres
14:02
Aaron Francis
Рет қаралды 8 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 840 М.
SQLite vs PostgreSQL Performance
14:01
Anton Putra
Рет қаралды 40 М.
Production SQLite with Turso and libSQL
1:02:53
Aaron Francis
Рет қаралды 11 М.