Hi, there is no API from SQL for that, sorry. You can find the conversion table here:
https://github.com/orientechnologies/orientdb/wiki/Types Lvc@ On 23 December 2013 17:39, Lebnik <[email protected]> wrote: > Next query returned field "type" in integer format: > > orientdb {GratefulDeadConcerts}> select expand( properties) from ( > selectexpand > ( classes ) from metadata:schema ) where name='OUser' > > > > > ----+------+--------+----+---------+--------+-------+-------+----+----+------+------------+----------- > # |@RID |name |type|mandatory|readonly|notNull|collate|min |max > |regexp|customFields|linkedClass > > > > ----+------+--------+----+---------+--------+-------+-------+----+----+------+------------+----------- > 0 |#-1:-1|name |7 |true |false |true |ci > |null|null|null |null |null > 1 |#-1:-1|password|7 |true |false |true > |default|null|null|null |null |null > 2 |#-1:-1|roles |15 |false |false |false > |default|null|null|null |null |ORole > 3 |#-1:-1|status |7 |true |false |true > |default|null|null|null |null |null > > > How return field "type" in text format? > > p.s. OrientDB Server v2.0-SNAPSHOT (build 1) > > -- > > --- > 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. > -- --- 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.
