[orientdb] Re: What is the recommended way to manage OrientDB connections in Express.js or any web application

2015-06-02 Thread Samuel Goldenbaum
g. > > To close the connection you have to call the close() method > var server = oriento({...}); > var db = server.use({...}); > ... > server.close(); > > > > > On Tuesday, June 2, 2015 at 6:51:32 AM UTC-3, Samuel Goldenbaum wrote: >> >> thanks Andre >&

[orientdb] Re: What is the recommended way to manage OrientDB connections in Express.js or any web application

2015-06-02 Thread Samuel Goldenbaum
an also use the connection pool: > > var server = Oriento({ > host: 'localhost', > port: 2424, > username: 'root', > password: 'yourpassword', > pool: { > max: 10 > } > }); > > > On Friday, May 29, 2015 at 4:12:27 AM

[orientdb] What is the recommended way to manage OrientDB connections in Express.js or any web application

2015-05-29 Thread Samuel Goldenbaum
What is the recommended way to manage OrientDB connections in Express.js or any web application for that matter? Connection per request? Would be using the oriento Node.js driver. -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscrib