Generate model from existing CSV/table?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Generate model from existing CSV/table?

lhughes
If I have an existing table or CSV with hundreds of fields, are there existing tools to generate an anchor model for the table?

Thanks-

Lee
Reply | Threaded
Open this post in threaded view
|

Re: Generate model from existing CSV/table?

Frederik
Yes, there's a script that can be used to generate a model from a table. Look at this post

http://www.anchormodeling.com/?p=1078

You might also be interested in looking at https://github.com/Roenbaeck/sisula to speed up loading of data into the database.

Regards,

Frederik