Hi,
  the V class is a convenience to declare a document as a node of your
graph. CREATE VERTEX command is simply a way to create a document inside
class V.

I think that if you use graph api using classes which doesn't extend V
should bring you to errors.

Cheers,
   Riccardo

2015-06-16 11:30 GMT+02:00 James Wang <[email protected]>:

> supreclass V so you can use the ETL tool to import massive data :D
>
>
> On Tuesday, 16 June 2015 09:59:07 UTC+1, Anthony Hebig wrote:
>>
>> Hi,
>>
>> I'm working with OrientDb community version 2.1-rc3. (database type is
>> "graph")
>>
>> I've been doing some tests with OrientDbStudio (and you can easily
>> reproduce these steps) :
>> - create a new class : Class1 (with some properties or not), no superClass
>> - create a new class : Class2 (with some properties or not), no superClass
>>
>> - create a new record for Class1, let's say it has the following rid :
>> #10:0
>> - create a new record for Class2, let's say it has the following rid :
>> #11:0
>>
>> - then you can do this : "create edge E from #10:0 to #11:0" and it works
>> fine.
>>
>>
>> So what's the point of extending V for a class ?
>>
>> And what's the difference between the "create vertex" command and
>> creating a new "normal" record ?
>>
>> Thanks for you time :)
>>
>  --
>
> ---
> 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.
>

-- 

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