As for the OSQLSyncQuery class. I was taking a look at the wiki snippet
below. But I guess we can leave it as is.


   - *q* stands for query as idempotent command. It's like passing
   com.orientechnologies.orient.core.sql.query.OSQLSynchQuery
   - *c* stands for command as non-idempotent command (insert, update,
   etc). It's like passing com.orientechnologies.orient.core.sql.OCommandSQL
   - *s* stands for script. It's like passing
   com.orientechnologies.orient.core.command.script.OCommandScript. Script
   commands by using any supported server-side scripting like Javascript
   command <http://code.google.com/p/orient/wiki/JavascriptCommand>. Since
   v1.0.





On Thu, Apr 3, 2014 at 8:44 AM, Charles Pick <notifications@github.com>wrote:

> In lib/db/index.js:
>
> > @@ -189,6 +190,9 @@ Db.prototype.exec = function (query, options) {
> >   * @promise {Mixed}          The results of the query / command.
> >   */
> >  Db.prototype.query = function (command, options) {
> > +	options = options || {};
> > +	options.class = options.class || 'com.orientechnologies.orient.core.sql.query.OSQLSynchQuery';
>
> in this case i mean are we sure we want to set this query class as the
> default? if so why?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/codemix/oriento/pull/6/files#r11249420>
> .
>