Local SQLite Database for Expo React Native App with Import and Export Database from Device Files

  Рет қаралды 64,687

MissCoding

MissCoding

Күн бұрын

Пікірлер: 65
@lanigoespew
@lanigoespew 7 ай бұрын
Your content is simple and straight to the point, PLEASE don't stop making React-Native tutorials I'm actually begging hahaha.
@indecisive.m
@indecisive.m Жыл бұрын
Just wanted to leave a message to say thanks. This helped me so much. The Expo docs for this are really not overly helpful but you walked through it and thanks to you I managed to convert my app from using async storage to this.
@chippandenga6722
@chippandenga6722 Жыл бұрын
This was amazing. Phew! So much packed into 38 minutes. Loved the video and its content.💙
@MissCoding
@MissCoding Жыл бұрын
Glad it helped!
@kingogamer4358
@kingogamer4358 Жыл бұрын
I was really for the need of local database and when i was searching for it you uploaded the video and that really helped aloooot thanks for that video
@isurujn
@isurujn Жыл бұрын
I came across your videos when I was searching for React Native tutorials. You have videos on some great topics and your teaching style is great too. Unfortunately I'm not using Expo. I wish there were more videos on React Native CLI as well.
@wanwan-swagg
@wanwan-swagg Жыл бұрын
React native have alot of bugs in it. Can't even symlink because it's unsupported.
@corybcromer
@corybcromer 17 күн бұрын
Love your tutorials!!! Question, how did you find out that the openDatabase func looks in the SQLite directory. I didnt see that anywhere in the docs, and I was looking forever. ahah.
@sherlockbhone5268
@sherlockbhone5268 Жыл бұрын
Thank you, you are a Sage , may you be prosperous and happy
@realworldcodingapplications
@realworldcodingapplications Жыл бұрын
awesome, learned a lot from this, first time working w database for mobile app! very cool
@henriqueantonio3019
@henriqueantonio3019 10 ай бұрын
Thank you very much, here from Brazil :)))
@emmanuelareiza9699
@emmanuelareiza9699 6 ай бұрын
Thanks bro suchs a great video you made , Greates wishes from COLOMBIA
@andrejkling3886
@andrejkling3886 3 ай бұрын
Excellent tutorial… thank you 💯
@honoriotovela3029
@honoriotovela3029 2 ай бұрын
como se ja actualizaram
@emilieclair
@emilieclair 4 ай бұрын
thank you it is very useful but can you update it with the new functionalities of expo-sqlite? thank you, i'm stuggling with the documentation, more promesses are made and they added sync and async to functions. Thank you!
@Evalionn
@Evalionn Жыл бұрын
Hi, Anyone tested this in release build? It’s not working when I build for release
@mintmikasa
@mintmikasa 7 ай бұрын
Nice content! I'm considering using a local or remote database in my app data, mostly for cost reasons. I was wondering how much data is considered "too much" to be stored locally as far as performance and acceptable app sizes go? It's hard to get a gauge of that without actually ingesting my data into my own sqlite db first, so I was wondering if you had any experience with that. Thanks!
@supp3rv1ctor
@supp3rv1ctor 6 ай бұрын
Do you know anything about SQLite working perfectly on Expo Go, and after generating a build it doesn't work on the device?
@Hari-xu1zb
@Hari-xu1zb Жыл бұрын
How to get example.db file path? and how to example.db file open DB browser for Sqlite tool
@Tony-jr3ki
@Tony-jr3ki Жыл бұрын
Thank you for the awesome video. How would you go about accessing the database from different components? Is it necessary to use some sort of global state for that? So we wouldn't create an instance of db access in each component? Or is there some other way to do that?
@Sparrow-tn9jj
@Sparrow-tn9jj Жыл бұрын
Nice tutorial. Thank you very much
@mrwenr0347
@mrwenr0347 Жыл бұрын
Thank you! Very helpful video!❤
@shehzadpasha6583
@shehzadpasha6583 Жыл бұрын
Thank you for explaining SQLite. I followed the steps mentioned in the video, on iOS it works fine, but on Android I am unable to import the database. It exports well, import is done without errors, but the database table shows no record. Any suggestions?
@AK-kq1mk
@AK-kq1mk Жыл бұрын
Did you figure it out?
@MunibDalati
@MunibDalati Жыл бұрын
same problem here
@failogy
@failogy 7 ай бұрын
same problem. pls tell me if you know.
@QianZhiwei
@QianZhiwei 4 ай бұрын
Cool! Thank you!
@jeka2233
@jeka2233 Жыл бұрын
Thank you so much for the tutorial miss coding,could you tell me please how to delete the database from sqlite?
@ricardoyanez9464
@ricardoyanez9464 Жыл бұрын
wow! awesome video, thanks. Good voice.
@zelvrs
@zelvrs 2 ай бұрын
please make import and export sqlite for wal mode cause i've already set the mode to wal mode and now i've got 3 different file .db, -wal, and -shm 🙏
@AlejandroHernandez-mh5om
@AlejandroHernandez-mh5om Жыл бұрын
I hope you can help me, I'm making an app and I have to download information with an API and host it locally, but I have a question, is there any way to know when the information I'm downloading finished and was saved in the SQLite table? By the way, the video is great.
@alirezascript
@alirezascript 3 ай бұрын
Thanks for that
@argames1578
@argames1578 6 ай бұрын
Great Video thank you very much :)
@erdincparlak7092
@erdincparlak7092 Жыл бұрын
Teşekkürler. Çok güzel bir bir anlatım.
@veleskarlsruhe
@veleskarlsruhe Жыл бұрын
Hi MissCoding, thank for the video. I was looking for a longer time how do I integrate an SQLite into React Native Expo app. And finally came across to you :). I have an issue TypeError: undefined is not an object (evaluating 'ExponentSQLite.exec') when running the app locally (Windows). On the Snack it runs fine. Do you have any idea what it could be? On the internet is only one (?!) post on this topic, which does not have the solution for an expo managed workflow.
@veleskarlsruhe
@veleskarlsruhe Жыл бұрын
Hi again, I solved the issue "ExponentSQLite.exec" by myself. It was about running "npx expo start" in the GitBash-Terminal. As soon as I started the terminal out of the Visual Studio Code everything was fine. I am using the Android simulator
@Evalionn
@Evalionn Жыл бұрын
Hii Did you build your app for release?
@veleskarlsruhe
@veleskarlsruhe Жыл бұрын
@@Evalionn Hi, no, I am not that far yet.
@nunomonteiro9808
@nunomonteiro9808 7 ай бұрын
for some reason, i did like you, but i can't get the names from database....
@AKProductionsTelugu
@AKProductionsTelugu 6 ай бұрын
😂😂
@johnkumar958
@johnkumar958 8 ай бұрын
Very useful
@9alotaibi
@9alotaibi Жыл бұрын
Greate Work Thank you
@programmingwithnit5308
@programmingwithnit5308 Жыл бұрын
Thank you so much 🎉❤
@desainad
@desainad Жыл бұрын
Under which folder does it store the database? If I have to select from an existing database, where should I place this in the project folder? I am using Windows 10.
@Sparrow-tn9jj
@Sparrow-tn9jj Жыл бұрын
import * as FileSystem from 'expo-file-system' const FOLDER_PATH = `${FileSystem.documentDirectory}`
@tienphanmemtinh8207
@tienphanmemtinh8207 6 ай бұрын
Can you share this demo code ?
@GeorgeFlorian12
@GeorgeFlorian12 16 күн бұрын
Unfortunately, Expo moves so fast that nothing from this video works now. Even `expo` as a command is deprecated. Not to mention expo-sqlite had an overhaul.
@tabata2680
@tabata2680 5 күн бұрын
Hey do you know some place that made this (sqlite crud in js for react native)but with the new update? I tried to follow the new expo-sqlite doc but I'm still new with this and cant do it by myself with just the documentation to follow
@yassinesaid4687
@yassinesaid4687 Жыл бұрын
Thank ya sis
@AlejandroHernandez-mh5om
@AlejandroHernandez-mh5om Жыл бұрын
Hello, thank you very much for your tutorial, it is excellent, but I have an error and I don't know what it refers to: [Error: no such table: names (Sqlite code 1 SQLITE_ERROR): , while compiling: SELECT * FROM names, (OS error - 2:No such file or directory)] Could anyone help me
@anyahayes3601
@anyahayes3601 Жыл бұрын
Can you show the code surrounding your select statement?
@AlejandroHernandez-mh5om
@AlejandroHernandez-mh5om Жыл бұрын
@@anyahayes3601 Hello, thank you for answering, but I have already been able to see what happened, it was my mistake when writing the statement to create the table. Apologies.
@nazmossakib2540
@nazmossakib2540 Жыл бұрын
@@AlejandroHernandez-mh5om I am facing the same problem....can u please help me to fix this?
@kingogamer4358
@kingogamer4358 Жыл бұрын
Can you upload a video on expo in app purchase how to do that thanks in advance
@amiribrahim01
@amiribrahim01 Жыл бұрын
thank you
@chrisnk7066
@chrisnk7066 Жыл бұрын
Unable to resolve "expo-sqite"
@MissCoding
@MissCoding Жыл бұрын
Try expo-sqlite 😀
@Lee95pl
@Lee95pl Жыл бұрын
Hey! Thanks for the video, very informative :) It seems that link to your repo is broken.
@MissCoding
@MissCoding Жыл бұрын
Thank you very much, I accidentally had it as private but I’ve fixed that now :)
@xgcwrought3346
@xgcwrought3346 6 ай бұрын
Love the content wanna network on linkdin?
@draigan
@draigan Жыл бұрын
why does your filetree take up half the screen so u have to keep going back and fourth...
@mikhailman
@mikhailman Жыл бұрын
The person is creating a free tutorial on a specific topic helping others with their developer journeys for nothing in return, and the only thing you could come up with is a half-assed critique of their IDE layout? Pathetic.
@carloojeda-e1e
@carloojeda-e1e 9 ай бұрын
What a waste of time
@neerajtangariya4067
@neerajtangariya4067 Жыл бұрын
Hey hi , Nice video. In this demo application you've used the expo-sqlite. what if I prefer to use this npm package instead of expo-sqlite? react-native-sqlite-storage because if i use the react native with cli then we have to do lot of configuration with expo in bare application.
@espial5789
@espial5789 11 ай бұрын
Hello, I really liked the video. I ask you a question, I am trying to create 2 tables in the same transaction, is this possible? I do the following: const db = SQLite.openDatabase('acm1pt.db'); var sql = ` CREATE TABLE IF NOT EXISTS users ( guid INTEGER PRIMARY KEY AUTOINCREMENT, id TEXT, user_name TEXT, session TEXT, date_init TEXT ); CREATE TABLE IF NOT EXISTS orders ( guid INTEGER PRIMARY KEY AUTOINCREMENT, id TEXT, account_id TEXT, account_name TEXT, case_number TEXT ); `; db.transaction(tx => { tx.executeSql(sql, [], (tx, result) => { resolve('The database was created ' + name + ' en ' + dbPath); }, (error) => { reject('Error executing SQL query - Error: ' + error.message); }); }); Only the first table is created and the second one is not created....
Expo Go vs Development Builds: Which should you use?
21:37
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 251 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 8 МЛН
СОБАКА И  ТРИ ТАБАЛАПКИ Ч.2 #shorts
00:33
INNA SERG
Рет қаралды 1,5 МЛН
What’s the Best React Native Storage Option? 🧐
12:53
Simon Grimm
Рет қаралды 45 М.
Connecting API to Flutter Project
13:46
Developer Resources
Рет қаралды 135
React | Create & Use SQLite Database (Quick Guide)
6:21
Building a Budget Buddy App with React Native Expo SQLite
1:54:09
Code with Beto
Рет қаралды 27 М.
React Native Crash Course | Build a Complete App
3:24:29
Academind
Рет қаралды 565 М.
React Hooks - Полный Курс (Про Все Хуки в 1 видео!)
1:47:00
Владилен Минин
Рет қаралды 446 М.
C Programming Tutorial for Beginners
3:46:13
freeCodeCamp.org
Рет қаралды 14 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 251 МЛН