Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7266

Re: Best way to create hash of hashes

From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.ruby
Subject Re: Best way to create hash of hashes
Date 2016-06-25 14:19 +0200
Message-ID <dt7b6eFcp4rU1@mid.individual.net> (permalink)
References <f0940c4f-7a05-47b1-8fb9-44b0537f69ad@googlegroups.com> <dt73veFbbbkU1@mid.individual.net> <13873e93-3db4-47b8-83ad-35fa19e6d70f@googlegroups.com>

Show all headers | View raw


On 25.06.2016 12:47, Sayth Renshaw wrote:

> Is there a particular benefit of one over the other? I want to be
> able  to keep the relation between ids and descendant nodes and then put this
> into a database, is one more suitable than the other?

Of course.  But it depends on the usage.  You need to make up your mind 
how you want to go about things.  Since we do not know what database you 
want to put that into, how the schema looks (if it has one), what the 
source of data is and all the other circumstances, the only one who can 
realistically answer that question at the current point in time is you.

Kind regards

	robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Best way to create hash of hashes Sayth Renshaw <flebber.crue@gmail.com> - 2016-06-24 18:50 -0700
  Re: Best way to create hash of hashes Robert Klemme <shortcutter@googlemail.com> - 2016-06-25 12:16 +0200
    Re: Best way to create hash of hashes Sayth Renshaw <flebber.crue@gmail.com> - 2016-06-25 03:47 -0700
      Re: Best way to create hash of hashes Robert Klemme <shortcutter@googlemail.com> - 2016-06-25 14:19 +0200
        Re: Best way to create hash of hashes Sayth Renshaw <flebber.crue@gmail.com> - 2016-06-25 08:27 -0700
          Re: Best way to create hash of hashes Robert Klemme <shortcutter@googlemail.com> - 2016-06-26 00:26 +0200

csiph-web