But CSV would not be usefull since that is not know the number of values for each field, one user could have 2 nicks, another 1,... And I think that CSV needs a number fixed to get the values.
On 21 sep, 20:47, "Adam French" <[EMAIL PROTECTED]> wrote: > There are a couple working custom types available in DM-Types that > tackles this thought. > > Flag ----- > very similar to how unix does file permissions, you can have any > number of 'flags' to assign to a certain > propertyhttp://github.com/sam/dm-more/tree/master/dm-types/spec/integration/f... > > JSON ----- > You can serialize an object (read: array of other objects) into JSON > with the Json > typehttp://github.com/sam/dm-more/tree/master/dm-types/spec/integration/j... > > YAML ----- > Same as JSON, only serialized out into > YAMLhttp://github.com/sam/dm-more/tree/master/dm-types/spec/integration/y... > > CSV ---- > again, you can serialize out an object or series of objects into CSV > toohttp://github.com/sam/dm-more/tree/master/dm-types/spec/unit/csv_spec.rb > > === > Adam French > > On Sun, Sep 21, 2008 at 1:35 PM, Kless <[EMAIL PROTECTED]> wrote: > > > Does DM let multiple values into a same field? > > > This would be very interesting. Imagine a field that can have multiple > > values (as nickname or family_name). In that case the user would have > > that separate them with a comma, and the validations would have made > > to each value. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
