[web2py] Importing SQL script.

2010-11-11 Thread Crim
So im working on a webapp that will access a database.. which isnt overly hard but i want to import some SQL script for my database... can this be done? Could some one point me in the right direction or possibly give me a line of code to help? -I should mention im fairly new to web2py and thanks

Re: [web2py] Importing SQL script.

2010-11-11 Thread Richard Vézina
First you have to define your legacy database model in web2py model then you will be able to make query a la web2py or raw sql query. Richard On Thu, Nov 11, 2010 at 10:26 AM, Crim crimsonang...@gmail.com wrote: So im working on a webapp that will access a database.. which isnt overly hard