Ilink Documentation
Accueil
Database
DatabaseConfigurationLa bibliothèque react-native-local-mongodbConfiguration de base
Screen
WebServices

DataBase Configuration

L'application iLink Wolrd utilise une base de données local tournant sous le SGBD mongodb. Pour ce faire, elle utilise la bibliothèque react-native-local-mongodb

La bibliothèque react-native-local-mongodb

⚠️ Cette bibliothèque est obsolète

Configuration de base

const dbname = "ILinklocal";
var datastore = require("react-native-local-mongodb");
export const db = new datastore({ filename: dbname, autoload: true });