Robert Felker
Robert Felker

Reputation: 924

How to list all ORecordBytes in OrientDB?

I'm using the ORecordBytes to store binaries and like to list them all but the command select * from ORecordBytes is not recognised.

Upvotes: 0

Views: 81

Answers (2)

Robert Felker
Robert Felker

Reputation: 924

You can select all ORecordBytes stored in OrientDB using the SQL command :

select * from cluster:default

Upvotes: 2

Michela Bonizzi
Michela Bonizzi

Reputation: 2632

As you can see I have a class with binary data:

enter image description here

To see them you can do a select of the cluster in which they are stored, in this case it's select from cluster:3

This is the result:

enter image description here

Hope it helps

Upvotes: 1

Related Questions