error in documentation? OSQLQuery is abstract

16 views
Skip to first unread message

ad...@cs.miami.edu

unread,
Sep 2, 2017, 5:32:12 PM9/2/17
to OrientDB
This code in the doc :

List<ODocument> result = db.query(
   new OSQLQuery<ODocument>(
      "SELECT FROM Animal WHERE id = 10
      AND NAME LIKE 'G%'"
   )
);

MY compiler is telling me that
OSQLQuery is abstract and cannot be instanced. https://orientdb.com/docs/2.2/Document-API-Documents.html

ad...@cs.miami.edu

unread,
Sep 2, 2017, 5:42:39 PM9/2/17
to OrientDB
I think this can be fixed by just replacing OSQLQuery with OSQLSynchQuery

-Adam

Luigi Dell'Aquila

unread,
Sep 4, 2017, 8:56:59 AM9/4/17
to orient-...@googlegroups.com
Hi Adam,

Thank you very much for reporting, I just fixed the docs, the new version should be available in a few minutes

Thanks

Luigi


--

---
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 orient-database+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ad...@cs.miami.edu

unread,
Sep 8, 2017, 1:16:24 PM9/8/17
to OrientDB
Lugi,

You are welcome, happy to help!  What is the best mechanism to provide correction to errors in the docs?  Is posting here sufficient?  Or should I open an issue on GitHub per each error?

-Adam
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.

Luigi Dell'Aquila

unread,
Sep 10, 2017, 5:39:52 AM9/10/17
to orient-...@googlegroups.com
Hi Adam,

Thank you very much, you have many ways to report problems on the docs

- provide a pull request on the docs repo https://github.com/orientechnologies/orientdb-docs/ (this is in absolute the best you can do!)
- open an issue on the central issue tracker  https://github.com/orientechnologies/orientdb/issues 
- report it here, on the mailing list

Thanks

Luigi



To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages