Or should I have an edge that stores the instance of the value such as Create vertex Foo set Name = "record1" ->#11:0
Create edge hasProperties from #11:0 to [#12:0,#12:1] set values = {5,20} This way I would be able to get The meta data information and have instance values associated with them? Any thoughts? On Wednesday, 21 May 2014 19:52:48 UTC+1, Thomas Kennedy wrote: > > I have a question about how to store some instances of meta data in a > class. > > I have a class called Foo which stores instances of data. > > I have another class called properties that stores meta data of fields > that can be stored in Foo.Properties. > > class Foo > Name | String > Properties | ? > > class Properties > Name | String > Type | String > > > So what I want is to have something like > > RID Name Properties > #11:0 record1 ["#12:0":5,"#12:1":20] > #11:1 record2 ["#12:2":["A","B","C","D"]] > > RID Name Type > #12:0 Min double > #12:1 Max double > #12:2 Codes List > > > What is the best way to link Foo.Properties with Properties class? Is this > a linkmap, embeddedmap? > > > Help with much appreciated.... Hope I was clear. > > > -- --- 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 orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.