목록sqlite (2)
Dev JS Blog
Expo Sqlite 를 사용하기 위해 패키지를 추가해준다. yarn add expo-sqlite import * as SQLite from 'expo-sqlite' const DB_NAME = 'app.db' const DB_VERSION = '1' const db = SQLite.openDatabase(DB_NAME, DB_VERSION) db.exec([{ sql: 'PRAGMA foreign_keys = ON;', args: [] }], false, () => console.log('Foreign keys turned on') ) 원하는 DB 이름과 버전을 지정해준다. db.transaction(tx=>{ tx.executeSql('select * from table',[], (tx,resultS..
www.sqlite.org/download.htmlSQLite Download PageTemplates (1) and (2) are used for source-code products. Template (1) is used for generic source-code products and templates (2) is used for source-code products that are generally only useful on unix-like platforms. Template (3) is used for precompiled biwww.sqlite.org여기 사이트로 들어가자 Precompiled Binaries for Windows 의 세번째껄로 다운로드합니다. 압축을 풀고 원하는 곳에 sql..