↧
SQLAlchemy Tutorial 1 : Declarative MySQL Tables
SQLAlchemy is awesome ORM and SQL Toolkit for Python. I am using it for MySQL 5.1 with MySQL specific settings. How can i define and create MySQL tables with SQLAlchemy ORM? I have 3 Tables : -- --...
View ArticlePostgreSQL installation and settings on Ubuntu 12.04
Updated for Ubuntu GNU/Linux 13.04 (Raring Ringtail). Install latest PostgreSQL 9.1 in console: sudo apt-get install postgresql libpq-dev PostgreSQL has a super user is called postgres. Change user to...
View ArticleGet last order number with PostgreSQL trigger
In multi user applications it is not easy to serve a unique order or invoice numbers for each save process. You should check carefully several times on every database insert. But with database triggers...
View Article