Noam wrote: > I've read the Elixir tutorial, and I wondered how with_fields() knows > the order in which fields were declared, since they are passed to the > function as a dictionary.
It doesn't. > If it doesn't know the order, isn't it a drawback of this method, > compared to has_field? Yes. > I think that generally graphical database frontends should keep the > order in which fields were declared when displaying a table, rather > than randomly order the columns - I think it's easier to comprehend > the data that way. I agree in principle, and this is why I always use `has_field` rather than `with_fields`. Good luck - -- Jonathan LaCour http://cleverdevil.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
