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


Groups > comp.lang.ruby > #7269

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-26 00:26 +0200
Message-ID <dt8eolFk0luU1@mid.individual.net> (permalink)
References <f0940c4f-7a05-47b1-8fb9-44b0537f69ad@googlegroups.com> <dt73veFbbbkU1@mid.individual.net> <13873e93-3db4-47b8-83ad-35fa19e6d70f@googlegroups.com> <dt7b6eFcp4rU1@mid.individual.net> <f60262b0-7cd4-40e5-b3d7-2ef3e1717227@googlegroups.com>

Show all headers | View raw


On 25.06.2016 17:27, Sayth Renshaw wrote:

> The data I will be collecting from XML has a snowflake schema based
> around, though there are changes I want to make from first version.

I am not sure how a snowflake schema looks in XML.  Or is that the 
target DB?

> At this stage i just want to ensure I maintain the relationship of
> each person and id to the event id and will create some json files to
> play with charts and display before I parse all files and push to
> database.

Wouldn't it be sufficient then to store the event id in every person? 
And what do you need JSON for when you read from XML and store in a 
(presumably) relational DB?

Cheers

	robert

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

Back to comp.lang.ruby | Previous | NextPrevious 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