Pros/cons to connecting directly to database vs. first to server?


#1

Per the docs (http://orientdb.com/docs/last/OrientJS-Database.html), it’s possible to use the ODatabase class to connect to the database without first establishing a server connection. What, if anything, are the pros or cons of one method over the other?