Тёмный
No video :(

React Native Tutorial #25 - SQLite Database - How to make an Offline Login with SQLite 

Programming with Mash
Подписаться 22 тыс.
Просмотров 84 тыс.
50% 1

🔥 Get a discount on 'The Complete React Native Course 2023: from Zero to Hero' on Udemy by using the promo code D782E3. As the instructor, I'll be there to answer any technical questions you may have. Plus, you'll get access to more exams and coding exercises, updated content, and no background music or ads. After completing the course, you can get a valid certificate on Udemy to showcase your skills. Click the link below to enroll now with the discount.
www.udemy.com/...
--------------------------------------------------------------------------------
🌟 In this session, we learn about SQLite as a local database and use it to build an offline login.
--------------------------------------------------------------------------------
🔥 The Complete React Native Course:
• The Complete React Nat...
💻 Project Source Code in GitHub:
github.com/mah...
🔗 SQLite module:
github.com/and...
🔗 SQLite useful links:
www.sqlite.org
www.sqlitetuto...
--------------------------------------------------------------------------------
😍 Subscribe my channel for more React Native Tutorials:
www.youtube.co...
💝 Join my channel to get access to perks:
/ @mashschool
--------------------------------------------------------------------------------
⏱️ Timestamps:
React Native Tutorial #25 - SQLite Database - How to make an Offline Login with SQLite
00:00 Intro
00:54 install react-native-sqlite-storage
01:33 Open Database
02:24 Create Table
03:50 Insert Into Table
05:30 Select From Table
08:04 Update Table
09:23 Delete From Table
10:37 SQLite Browser
--------------------------------------------------------------------------------
#ProgrammingWithMash #ReactNative #SQLite

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

 

18 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 73   
@mashschool
@mashschool 3 года назад
If you have any questions about this or request tutorials in this style, be sure to leave a comment below, and thank you for liking the video. 😉
@nakidm
@nakidm 3 года назад
Hey Mash nice video, im new on RN and im "old" programmer php html u think is better this? or use firebase/aws for RN apps ? :) thanks
@mashschool
@mashschool 3 года назад
@@nakidm It's my pleasure! Here SQLite is used for offline purpose. Firebase and AWS are definitely used for online purposes.
@saileklaj
@saileklaj 2 года назад
hello, how can i connect react-native with sqlserver, thanks
@swathyraja04swa24
@swathyraja04swa24 Год назад
hi, How do work search bar?
@sangsokea
@sangsokea 2 года назад
Your tutorial clearer than the course I bought on Udemy.
@mashschool
@mashschool 2 года назад
Great to hear!
@geoffreyngugi6144
@geoffreyngugi6144 2 года назад
This is the best and my first tutorial that actually works. It made you just made sqlite super simple. I also have already checked tutorial #28 and #29. Local and remote notifications have never been that simple. Asante(thanks)
@mashschool
@mashschool 2 года назад
Glad it helped! You're welcome.
@MedlegNem
@MedlegNem 8 месяцев назад
Absolutely perfect tutorial. Thank You very much and good wishes for you.
@tom-vq1bj
@tom-vq1bj 2 года назад
It helped me a lot, congratulations on the class!
@voldemore6300
@voldemore6300 Год назад
Hi Mash, I do have a question, where would you put the "MainDB.db" file on ?? it seemed like you just created it from the empty file. Basically, when I use SQL on react.js we specify items such as localhost, username, password and database_name. but for sqlite they are not required ?? Im so confused TT
@SangNguyen-ej1ef
@SangNguyen-ej1ef 2 года назад
Thanks God! Thanks to your video I solved some database bugs in my project.
@mashschool
@mashschool 2 года назад
You're welcome!
@sanilkp6180
@sanilkp6180 2 года назад
Thank you very much!
@karthiknandula8702
@karthiknandula8702 2 года назад
How did u connect the database to the SQLite browser? I want to view that DB on the SQLite browser...
@gastonecappuccio7864
@gastonecappuccio7864 Год назад
did you found a way to do that?
@blanf7559
@blanf7559 3 года назад
Thank you! Very good video!
@mashschool
@mashschool 3 года назад
Glad you liked it!
@aigirimedia
@aigirimedia 6 месяцев назад
very good
@muhammadsuleman9342
@muhammadsuleman9342 Год назад
Awesome content but Not Satisfied with such time consuming things. If you are creating tutorial on specific topic you should write code from start for it. Why you are making it mandatory to watch your previous videos of navigation for proper understanding. not everyone here is expert and use same method. hope you get my point. your tutorial should be independent on the previous ones. if you want to add navigation in sqlite tutorial then kindly write it from start so that we can have better understanding. Thanks.
@ericlol1337
@ericlol1337 2 года назад
thanmks maush
@joanneko3953
@joanneko3953 2 года назад
this is for react native cli right? what about expo? how do we integrate sqlite on expo?
@aazamheidari4689
@aazamheidari4689 2 года назад
Your tutorial is great and clear, and how can I use cascading delete . I search a lot but, I can not find the right code
@asimnehal3953
@asimnehal3953 8 месяцев назад
very helpful....how to export my db file from my react native app..?
@Mrkhan-yz8to
@Mrkhan-yz8to 2 года назад
always the best tutorial ever
@mashschool
@mashschool 2 года назад
Glad you think so!
@purnamasrahayu6850
@purnamasrahayu6850 2 года назад
how to connect to database in device / emulator?
@deepakkiriti5932
@deepakkiriti5932 Год назад
hi mash great tutorial can you help me how to store the pedometer data coz there wont be any buttons to set update data
@arikmosfor4907
@arikmosfor4907 3 года назад
wow!! great tutorial 🔝🔝
@mashschool
@mashschool 3 года назад
Thanks! 😃
@mememonster2370
@mememonster2370 5 месяцев назад
why copy pasting db = opendatabase in each files?
@bartdiako1
@bartdiako1 3 года назад
Hi Mash! Thanx for making these videos theay have realy halped me out withe school .A bigg high five to you bro. Could you makee a video about SecureStore?
@mashschool
@mashschool 3 года назад
You're welcome. Yes, I will explain it on an expo project.
@bartdiako1
@bartdiako1 3 года назад
@@mashschool And also Testig/jest in react native expo and cli?
@mashschool
@mashschool 3 года назад
@@bartdiako1 We will have it at the end of this series.
@weixiangng8279
@weixiangng8279 17 дней назад
Mine has lots of errors like cannot open the database.
@80Vikram
@80Vikram 2 года назад
Thanks for this tutorial, can you please clarify if SQLite DB gets installed on emulator or your laptop ?
@santuclicks8169
@santuclicks8169 Год назад
How do you access db in Home page.
@ahmedsiddique863
@ahmedsiddique863 11 месяцев назад
p.SQLite is undefined giving this error when creating the database
@abhijeetshikharvlog1444
@abhijeetshikharvlog1444 2 года назад
In emulator is working fine but when i test in mobile its not working.Please tell the solution
@realtorBG
@realtorBG 3 года назад
if you do some series with netlify, context or firebase will be great Mash
@mashschool
@mashschool 3 года назад
That's a good idea! I will work on it.
@bobbycheema5168
@bobbycheema5168 3 года назад
Can you show an example with date and time field
@thebeatifulnature3142
@thebeatifulnature3142 3 года назад
Please bro continue this series
@mashschool
@mashschool 3 года назад
You can find the continuation of the series in the playlist. We have a new session every week.
@codebase_dev
@codebase_dev Год назад
How to pre-populated database in react-native ?
@muhammadhamzaqadri1548
@muhammadhamzaqadri1548 3 года назад
This database is better to use for confidential things like password? Another thing is that it can be use alternative to local storage
@mashschool
@mashschool 3 года назад
Anyone can read the file of this database, so it's not suitable for many confidential cases. Instead of storing passwords, it's better to use token-based authentications. If you have a lot of data to store and need to fetch the information you need, then local databases like SQLite are the best local storage.
@akashwaghule
@akashwaghule 3 года назад
Hello Mash, big fan, could you help us with the setup process.
@mashschool
@mashschool 3 года назад
Hi, If you mean setting up a react native project, watch video # 3 and tell me if there is a problem.
@darrellleong4780
@darrellleong4780 Год назад
This doesn't work with Expo?
@user-yk8ce2zj1y
@user-yk8ce2zj1y 3 года назад
i have an error when npm install .................. npm ERR! Unexpected token d in JSON at position 0 while parsing near 'dEasing, // @ts-i...' How I can fix it.
@user-yk8ce2zj1y
@user-yk8ce2zj1y 3 года назад
it's already fix
@tienphanmemtinh8207
@tienphanmemtinh8207 4 месяца назад
Can you share the code for this video ?
@arjunpatidar4295
@arjunpatidar4295 2 года назад
Unable to open database getting this error "[Error: Could not open database]"
@michaeljameslao4599
@michaeljameslao4599 2 года назад
Any way to connect to an MSSQL server database?
@mashschool
@mashschool 2 года назад
It's not safe to connect directly to the MS SQL database. But you can do it by this module in Android. www.npmjs.com/package/react-native-mssql
@pablo9658
@pablo9658 3 года назад
Hi, is it the same process for IOS?
@mashschool
@mashschool 3 года назад
Yes, it works in iOS.
@gustavojuantorena
@gustavojuantorena 3 года назад
👏👏
@sahaphonmukphet6336
@sahaphonmukphet6336 2 года назад
i found error "message" no such table Users.. how to fix?
@pradyumnakubear8561
@pradyumnakubear8561 2 года назад
same here how to solve it if you have solution could you please reply me bro
@mehmeteminozen6203
@mehmeteminozen6203 Год назад
Its been a long time but i got same error, and i just realized i typed name wrong in the second page. You should check your names.
@muhammetaydinn
@muhammetaydinn Год назад
make new table with different name or delete table and make new table
@vantungpham159
@vantungpham159 3 года назад
can you answer my question in the previous video ?
@mashschool
@mashschool 3 года назад
I answered it. Good luck.
@vantungpham159
@vantungpham159 3 года назад
@@mashschool next video you can guide about Reactotron debugger ?
@nunomonteiro9808
@nunomonteiro9808 4 месяца назад
i did just like you, but it is not inserting neither selecting.... and I did just like you...
@movierockers3452
@movierockers3452 3 года назад
How we can export sqlite file using react native ? Is it possible to connect ms sql ?
@mashschool
@mashschool 3 года назад
You can use the createFromLocation option in the openDatabase method to save the database to your desired path and use its file. You can connect to ms sql remotely using the react-native-mssql module.
Далее
React Native Tutorial #26 - Redux - State Management
13:44
What’s the Best React Native Storage Option? 🧐
12:53
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Learn SQL In 60 Minutes
56:24
Просмотров 2,1 млн
I've been using Redis wrong this whole time...
20:53
Просмотров 352 тыс.
React Native Database & User Authentication
27:38
Просмотров 20 тыс.