flâneur — a map of the web's best reading

SQLAlchemy - Quick Guide

tutorialspoint.com · 14,079 words · saved by 1 readers

SQLAlchemy is a popular SQL toolkit and Object Relational Mapper. It is written in Python and gives full power and flexibility of SQL to an application developer. It is an open source and cross-platform software released under MIT license. SQLAlchemy is famous for its object-relational mapper (ORM), using which, classes can be mapped to the database, thereby allowing the object model and database schema to develop in a cleanly decoupled way from the beginning. As size and performance of SQL databases start to matter, they behave less like object collections. On the other hand, as abstraction in object collections starts to matter, they behave less like tables and rows. SQLAlchemy aims to accommodate both of these principles. For this reason, it has adopted the data mapper pattern (like Hibernate) rather than the active record pattern used by a number of other ORMs. Databases and SQL will be viewed in a different perspective using SQLAlchemy. Michael Bayer is the original author of SQLA

SQLAlchemy - Quick Guide Home Whiteboard Practice Code Graphing Calculator Online Compilers Articles Tools SQLAlchemy - Home SQLAlchemy - Introduction Expression Language Connecting to Database Creating Table SQL Expressions Executing Expression Selecting Rows Using Textual SQL Using Aliases Using UPDATE Expression Using DELETE Expression Using Multiple Tables Using Multiple Table Updates Parameter-Ordered Updates Multiple Table Deletes Using Joins Using Conjunctions Using Functions Using Set Operations SQLAlchemy ORM Declaring Mapping Creating Session Adding Objects Using Query Updating Objec

Explore this link on the map →

related reading