Oh I see Dmitriy I am sorry, Could you try @class = 'BaseClass' as condition ?
On Wed, Jun 18, 2014 at 4:22 PM, Dmitry <[email protected]> wrote: > Hmm... > > From docs: "Used to check if the record extends a class" > I understand that: MyAccount instanceof BaseAccount is true. Because > MyAccount extend BaseAccount Is that so? > > But I want to select only BaseAccount records. > > > On Wednesday, June 18, 2014 3:55:43 PM UTC+3, Andrey Lomakin wrote: > >> Hi, >> You can sort out all other classes by instanceof operator >> https://github.com/orientechnologies/orientdb/wiki/SQL-Where#operators . >> >> >> On Wed, Jun 18, 2014 at 3:19 PM, Dmitry <[email protected]> wrote: >> >>> >>> Hi! >>> >>> Suppose I have a class hierarchy, such as MyAccount extends BaseAccount. >>> >>> Can I read records of concrete class without class hierarchy? >>> >>> I mean: >>> 1) select from MyAccount (only) >>> 2) select from BaseAccount (only) >>> 3) select from BaseAccount (including MyAccount) >>> >>> Question regarding point 2. >>> >>> Thanks. >>> >>> -- >>> >>> --- >>> 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/d/optout. >>> >> >> >> >> -- >> Best regards, >> Andrey Lomakin. >> >> Orient Technologies >> the Company behind OrientDB >> >> -- > > --- > 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/d/optout. > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- 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/d/optout.
