Top "Sqlalchemy" questions

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

SQLAlchemy ORDER BY DESCENDING?

How can I use ORDER BY descending in a SQLAlchemy query like the following? This query works, but returns them …

python sqlalchemy
How to execute raw SQL in Flask-SQLAlchemy app

How do you execute raw SQL in SQLAlchemy? I have a python web app that runs on flask and interfaces …

python sql sqlalchemy flask flask-sqlalchemy
Convert sqlalchemy row object to python dict

Is there a simple way to iterate over column name and value pairs? My version of sqlalchemy is 0.5.6 Here is …

python sqlalchemy
ImportError: No module named MySQLdb

I am referring the following tutorial to make a login page for my web application. http://code.tutsplus.com/tutorials/…

python mysql flask sqlalchemy mysql-python
SQLAlchemy IN clause

I'm trying to do this query in sqlalchemy SELECT id, name FROM user WHERE id IN (123, 456) I would like to …

python sqlalchemy
How to update SQLAlchemy row entry?

Assume table has three columns: username, password and no_of_logins. When user tries to login, it's checked for an …

python sqlalchemy flask-sqlalchemy
SQLAlchemy default DateTime

This is my declarative model: import datetime from sqlalchemy import Column, Integer, DateTime from sqlalchemy.ext.declarative import declarative_base …

python date sqlalchemy
How to serialize SqlAlchemy result to JSON?

Django has some good automatic serialization of ORM models returned from DB to JSON format. How to serialize SQLAlchemy query …

python json sqlalchemy
ImportError: No module named sqlalchemy

I'm unable to find a module in python ,though easy_install says its already installed. Any idea how to resolve …

python sqlalchemy flask-sqlalchemy
Flask-SQLalchemy update a row's information

How can I update a row's information? For example I'd like to alter the name column of the row that …

python sqlalchemy flask-sqlalchemy