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

Anth malkouna at yahoo.com.au
Thu Jan 28 23:46:30 UTC 2010


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?


More information about the development mailing list