[development] Drupal way to seed data for a module.

Kyle Mathews mathews.kyle at gmail.com
Thu Jan 28 23:55:16 UTC 2010


The data module might be useful. Not sure if it's better/worse in your
situation.
http://drupal.org/project/data

--Kyle Mathews

kyle.mathews2000.com/blog
http://twitter.com/kylemathews


On Thu, Jan 28, 2010 at 4:46 PM, Anth <malkouna at yahoo.com.au> wrote:

> Hi,
>
> I'm building a module that has a lot of supporting data (it's a custom
> shipping module that maps postcodes/zips to regions etc.) and know that I
> can create the table using hook_schema() and could use hook_install() to add
> rows of data to the schema, but I'm talking tens of thousands of rows, so
> wondering if there is a better method for doing this?
>
> Anthony.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100128/fdd1a434/attachment.html 


More information about the development mailing list