You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Work on ElectronJs. It happens that when configuring the file path and inserting an element nothing happens, I do not know if I should consider anything else.
Already try to create the file ".db" the asiganda route, but without any result. What solution could you try? Thank you
This is the file and scrypt with which I try:
import LinvoDB from 'linvodb3'
import User from './models/schema'
var options = { };
options.filename = "../db.db"; // Path to database - not necessary
options.store = { db: require("level-js") }; // Options passed to LevelUP constructor
var userModel = new LinvoDB('user', User, options)
.
.
.
The text was updated successfully, but these errors were encountered:
@Ivshti I think where else I have confusion is that when setting the path for storage, the file is created? The inserted data stays there, because it is persistent? Or, should I configure something else to do it?
I think using level-js as the store options means that under the hood indexedDB ist being used, so probably you can find the data files somewhere in the default appdata location, on windows that is something like %APPDATA%/Local/name-of-your-app/UserData/Default/IndexedDb
Work on ElectronJs. It happens that when configuring the file path and inserting an element nothing happens, I do not know if I should consider anything else.
Already try to create the file ".db" the asiganda route, but without any result. What solution could you try? Thank you
This is the file and scrypt with which I try:
import LinvoDB from 'linvodb3'
import User from './models/schema'
var options = { };
options.filename = "../db.db"; // Path to database - not necessary
options.store = { db: require("level-js") }; // Options passed to LevelUP constructor
var userModel = new LinvoDB('user', User, options)
.
.
.
The text was updated successfully, but these errors were encountered: