Set app.config["SQLALCHEMY_DATABASE_URI"] to point to your database. Normally won't create tables unless you call flask.ext.sqlalchemy.SQLAlchemy.creae_all explicitly.
> On Jun 27, 2014, at 1:47 PM, Aarushi ign <ign.aaru...@gmail.com> wrote: > > I am using Flask-SqlAlchemy. It does allows you to make models but how do map > an existing table to a class object so that u can use it later to do other > functions like Pagination? > My MySql database is created in different scripts and i need to access those > tables and perform pagination. > In SqlAlchemy only SQLSoup provides the ability to map an existing table i > guess. > Any help guys please. > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy+unsubscr...@googlegroups.com. > To post to this group, send email to sqlalchemy@googlegroups.com. > Visit this group at http://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.