react-native-sqlite-explorer
v0.1.16
Published
Explorer for react-native-sqlite-storage library database inside react native app
Downloads
40
Readme
react-native-sqlite-explorer
Explorer for react-native-sqlite-storage inside react native app
Installation
npm install react-native-sqlite-explorer
Usage
import SQLiteExplorer from 'react-native-sqlite-explorer';
const SQLiteExplorerScreen = () => {
// initial baseName that you used in params or taken from openDatabase success callback:
// SQLite.openDatabase({ name: baseName, location: 'default' }, DB => { DB.dbname <-- your baseName also here
const baseName = '<your_base_name_here>';
return <SQLiteExplorer params={{ name: baseName, location: 'default' }} />;
};
export default SQLiteExplorerScreen;
Tips
Temporarily only for Android
License
MIT
Made with create-react-native-library