Hi All, I created a document database (ver 1.7-rc1) in the studio latter in the console as well.
Then I created a function with following content: var db = orient.getDatabase(); I get an error sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.orientechnologies.orient.core.exception.OConfigurationException: No database instance found in context (<Unknown source>#2) in <Unknown source> at line number 2 If I use var gdb = orient.getGraph(); It works fine or better to say don't throw any error. How can I check which kind of DB I really created? I would assume I use graph database if the getGraph() works fine, is my assumptions correct? Could you point me what I am doing wrong? Thank you! Regards, Pavel -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
