All ready https://github.com/orientechnologies/orientdb/issues/1920 Thank you.
пятница, 27 декабря 2013 г., 16:37:02 UTC+4 пользователь Andrey Lomakin написал: > > I see )). > Could you create issue for it ? And we fix it. > > > On Fri, Dec 27, 2013 at 1:21 PM, Lebnik <[email protected] > <javascript:>>wrote: > >> Hi, no problem. Now I develop REST-driver for Doctrine2. And I need that, >> because Doctrine2 creates query in format uses aliases, example: >> >> SELECT t0.@rid AS rid1, t0.objectId AS objectId2, t0.languageId AS >> languageId3, t0.name AS name4, t0.info AS info5, t0.position AS position6 >> , t0.flagShow AS flagShow7, t0.divisionKindId AS divisionKindId8, >> t0.divisionTypeId >> AS divisionTypeId9, t0.parentId AS parentId10, t0.dateStart AS >> dateStart11, t0.dateEnd AS dateEnd12, t0.prikazIdStart AS prikazIdStart13 >> , t0.prikazIdEnd AS prikazIdEnd14 FROM Orgunit t0 WHERE t0.objectId = '1'AND >> t0 >> .languageId = '1' LIMIT 1 >> >> >> >> пятница, 27 декабря 2013 г., 12:52:25 UTC+4 пользователь Andrey Lomakin >> написал: >>> >>> Hi >>> I think it is possible , but could you explain why do you need this ? >>> >>> >>> On Fri, Dec 27, 2013 at 10:43 AM, Lebnik <[email protected]> wrote: >>> >>>> Can you add alias for class name? >>>> >>>> My problem example: >>>> >>>> orientdb {GratefulDeadConcerts}> SELECT objectId AS objectId2 FROM >>>> Orgunit AS t0 >>>> >>>> >>>> Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingExce >>>> ption: Error on parsing command at position #42: Invalid keyword 'AS' >>>> Command: select objectId AS objectId2 FROM Orgunit AS t0 >>>> --------------------------------------------------^ >>>> >>>> >>>> -- >>>> >>>> --- >>>> 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. >>>> >>> >>> >>> >>> -- >>> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > 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/groups/opt_out.
