Open anwar007 opened 8 years ago
Hi
I am unable to insert any records when I create an in-memory database and class using the driver.
server.create({ name: 'MyDBName', type: 'document', storage: 'memory' }).then(function (db) { console.log('Db ' + db.name + ' created.'); session = server.use({ name: 'MyDBName', username: '****', password: '****' }); return session.class.create('session'); }).then(function (clazz) { console.log('Db Class ' + clazz.name + ' created.'); }).done();
The code above creates the database and class, but cannot do any CRUD operations on it. I am using the Community version 2.0.6 on a Windows 8.1 laptop.
Thanks Anwar
hi @anwar007
which error do you get ?
Hi
I am unable to insert any records when I create an in-memory database and class using the driver.
The code above creates the database and class, but cannot do any CRUD operations on it. I am using the Community version 2.0.6 on a Windows 8.1 laptop.
Thanks Anwar