Skip to content

devded/SQLAlchemy-Cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SQLAlchemy-Cheatsheet

SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.

This is my SQLAlchemy "Cheat Sheet" containing few exemples working under Flask/Django.

App.py

-How to create a table + the ORM.

-A ONE TO MANY relationship between 2 tables

-How to edit/modify specific row.

-Many exemples of queries will many kind of filter() and ways to use more than one filter at the time.

create_all.py

The Script to create/modify the table(s) in datable based on the class(es) in your app.

config.cfg

The config file for the MySQL URI.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages