Hi Nick,

>From console you can execute the command

> *classes*

If you need to get information about a specific class, execute:

> *info class MyClassName*

Execute *help t*o see the list of available commands.

Hope it helps,
Fabrizio


On Monday, February 16, 2015 at 3:00:59 PM UTC, Nick Pratt wrote:
>
> Thanks Luigi - how do we execute this?
>
> When we tried from the console and in a code-test, we get:
>
> orientdb {db=GratefulDeadConcerts}> select expand(classes) from 
> metadata:schema
>
> Error: com.orientechnologies.orient.core.exception.OStorageException: 
> Cannot route COMMAND operation to the distributed node
>
> Error: 
> com.orientechnologies.orient.server.distributed.ODistributedException: No 
> nodes configured for partition 'GratefulDeadConcerts.[internal]' request: 
> id=-1 from=node1 task=command_sql(select expand(classes) from 
> metadata:schema) userName=admin
>
> On Mon, Feb 16, 2015 at 3:17 AM, Luigi Dell'Aquila <[email protected] 
> <javascript:>> wrote:
>
>> Hi Nick,
>>
>> I think this is what you need:
>>
>> select expand(classes) from metadata:schema
>>
>>
>> 2015-02-13 18:48 GMT+01:00 Nick Pratt <[email protected] <javascript:>>:
>>
>>> Does OrientDB have a concept of a system catalog that we can query to 
>>> inspect DB metadata?
>>>
>>> -- 
>>>
>>> --- 
>>> 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/d/optout.
>>>
>>
>>  -- 
>>
>> --- 
>> 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/d/optout.
>>
>
>

-- 

--- 
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.

Reply via email to