How to use SQLite in Ionic with Capacitor

  Рет қаралды 19,809

Simon Grimm

Simon Grimm

Күн бұрын

Пікірлер: 49
@galaxies_dev
@galaxies_dev Жыл бұрын
Learn to build epic IONIC apps FAST by joining the Ionic Academy: ionicacademy.com/
@eliphasmasuka5730
@eliphasmasuka5730 2 ай бұрын
Thank you thats a great video. Is adding an ORM doable for Sqlite. I have an app that focuses on offline sync so quiet a lot sqlite usage.
@ellenweng3668
@ellenweng3668 Жыл бұрын
You read my mind, Simon. I am just looking for tutorials on SQLite. Thank you!
@galaxies_dev
@galaxies_dev Жыл бұрын
Happy to help!
@yanntrad2304
@yanntrad2304 3 ай бұрын
tanks for it ! I'm trying to make two pages (listeOfClients and AddClientForm) but when I try to add clients and go back to the listeClient page, nothing got from the DBB. But when i implement the addclientform in the same page of listOfclients it works... Thank for your help.
@Diego-rw5fs
@Diego-rw5fs Ай бұрын
what was the home.page.html code?
@juanmluces
@juanmluces Жыл бұрын
Great video Simon! I believe that the best approach for sharing the private signal from the service is creating a public property that returns computed(this.users) or computed( () => this.users()); that way you get a read only version of the signal. Keep up the good work!
@galaxies_dev
@galaxies_dev Жыл бұрын
Yes indeed good idea Juan!
@eduardasslutas6624
@eduardasslutas6624 8 ай бұрын
aren't your Insert/delete queries prone for sql injection? also, why do you pass id as string in "updateUserById" when id in db schema is integer?
@ankit.chaurasia
@ankit.chaurasia 4 ай бұрын
Obviously. This is for storing app data not vulnerable data. You are giving whole sqlite data to user through app. For private data, u need to host own api and consume on frontend
@GamerNut420
@GamerNut420 Жыл бұрын
I need help with my app I’m working on. And unsure if I will get what I need if I sign up with your website.
@galaxies_dev
@galaxies_dev Жыл бұрын
We have a private Discord channel for support of Ionic Academy members, yes!
@juanarielbrusco
@juanarielbrusco Жыл бұрын
Great video! Thanks a lot for all your content, Simon :) cheers from Argentina
@galaxies_dev
@galaxies_dev Жыл бұрын
My pleasure Juan!
@wespug
@wespug Жыл бұрын
Hi @Simon , wich extension did you use for generate code automatic. I special part of the video you say " uu compile you are very smart" wich extension is that?
@galaxies_dev
@galaxies_dev Жыл бұрын
That must be Github Copilot!
@nodiced1
@nodiced1 Жыл бұрын
how do i use an existing .db file -- currently it is in the assets folder ? how can I run a .sql file?
@saadnatiqnori6543
@saadnatiqnori6543 Жыл бұрын
you fix the problem or not ?
@nodiced1
@nodiced1 Жыл бұрын
@@saadnatiqnori6543 yes
@nodiced1
@nodiced1 Жыл бұрын
@@saadnatiqnori6543 If you need any pointers, I can help
@tamhuynh772
@tamhuynh772 Жыл бұрын
Hi Simon, I was wondering if you know of any ORM framework for Ionic (with Capacitor) that is compatible with Sqlite? Thank you!
@galaxies_dev
@galaxies_dev Жыл бұрын
I'm also still looking for the best way to handle this, usually Prisma covers most cases..
@edwinquaihoi8503
@edwinquaihoi8503 Жыл бұрын
I think TypeORM might be what you are looking for
@EvTIC
@EvTIC Жыл бұрын
excuse me but i want to know the difference between sqlite and mysql sever (like phpmyadmin). is it not possible to use mysql server and ionuc capacitor?
@galaxies_dev
@galaxies_dev Жыл бұрын
If you have a MySQL server you need an API to connect to the database from any app/website. SQLite is already bundled with any native app and can be used local and offline directly!
@kangnifredable
@kangnifredable Жыл бұрын
@@galaxies_dev it is very difficult for me to send data from ionic react capacitor page to my api
@bennyzimmer8342
@bennyzimmer8342 Жыл бұрын
How can I use the upgrade statement function to modify table structure for users that also have the app running?
@AGUNGKAYA
@AGUNGKAYA Жыл бұрын
in my physical phone, it just showed the navbar, the rest is blank white screen. Why?
@JakebKnowles
@JakebKnowles Жыл бұрын
i have this same error, did you end up fixing it?
@JakebKnowles
@JakebKnowles Жыл бұрын
Yo my guy, you probs figured it out, but this guy fails to mention that there needs to be at least one entry in the db for it to show, he also forgets to show that he added an input to add new users, i just added them in and now it works like his.
@AGUNGKAYA
@AGUNGKAYA Жыл бұрын
@@JakebKnowles i forgot to fix it. May I see the github repo of it? Thanks
@Julio_Bandeira
@Julio_Bandeira Жыл бұрын
I have a problem, I follow the same steps but to React and by some reason the database dont work, the function is like dont be called
@gabrielamaralpassos9537
@gabrielamaralpassos9537 9 ай бұрын
Same
@AGUNGKAYA
@AGUNGKAYA Жыл бұрын
wow this is great! SQL! I lv it
@neura3964
@neura3964 Жыл бұрын
what is that extension that suggests the code? anyone?
@XXsupersonicZZ
@XXsupersonicZZ 8 ай бұрын
copilot
@hazhohuman
@hazhohuman 9 ай бұрын
thanks, but what about the synchronization with a remote DB? for example each 5 minutes to sync the locally stored DATA with the Remote DB
@DavidSchmidt07
@DavidSchmidt07 Жыл бұрын
Thank you for using signals
@galaxies_dev
@galaxies_dev Жыл бұрын
You're welcome!
@jbwesleyster
@jbwesleyster Жыл бұрын
this is what I was looking for😀
@isaiah-dev
@isaiah-dev 10 ай бұрын
Awesome tutorial, thanls!
@zearwinandallo1199
@zearwinandallo1199 Жыл бұрын
Do you have a guide to how to upload file?
@gabrielamaralpassos9537
@gabrielamaralpassos9537 9 ай бұрын
The fact you expect us to send your code to gpt to convert to React and don't provide the code make everything harder
@alexreyes-cn9ru
@alexreyes-cn9ru Жыл бұрын
Man you're the best, but i got an error message, reading the query property, I think it's caused by the newUser=' '
@kotaibakd8300
@kotaibakd8300 Жыл бұрын
did you solve it ?
@marxman1010
@marxman1010 Жыл бұрын
The sqlite introduced in the video is not the sqlite generally referred to. There is no sqlite file, rather this ionic sqlite is stored in the indexeddb. The naming is very confusing.
@RavenXplod
@RavenXplod Жыл бұрын
Please please do it in react without typescript
@RealGamePanda
@RealGamePanda 6 ай бұрын
This example doesn't work with web applications.
How to use Ionic Storage v3 with Ionic Angular
20:46
Simon Grimm
Рет қаралды 15 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Ionic Vue SQLite With  Ionic Framework, and Capacitor
1:36:45
Aaron Saunders
Рет қаралды 4,1 М.
The Push Notifications Guide for Ionic & Capacitor
25:52
Simon Grimm
Рет қаралды 100 М.
SQLite vs PostgreSQL Performance
14:01
Anton Putra
Рет қаралды 43 М.
How to Cache API Responses with Ionic & Capacitor
30:10
Simon Grimm
Рет қаралды 9 М.
How to Create Background Tasks in Ionic with Capacitor ⚡️
37:11
Ionic in 30
19:07
Ionic
Рет қаралды 2,6 М.
Kodular - Database Sqlite
19:03
gen70
Рет қаралды 16 М.
Storing Data in React apps with Ionic Storage
36:19
Simon Grimm
Рет қаралды 7 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН