Re: [sqlalchemy] max() min() string lengths?

2013-01-04 Thread Simon King
On 4 Jan 2013, at 03:08, James Hartley jjhart...@gmail.com wrote: Embarrassingly, I'm gotten lost in calling SQL functions in SQLAlchemy 0.7.1. I can boil the problem down to the following table structure: CREATE TABLE words ( id INTEGER NOT NULL, timestamp DATETIME NOT

[sqlalchemy] max() min() string lengths?

2013-01-03 Thread James Hartley
Embarrassingly, I'm gotten lost in calling SQL functions in SQLAlchemy 0.7.1. I can boil the problem down to the following table structure: CREATE TABLE words ( id INTEGER NOT NULL, timestamp DATETIME NOT NULL, word TEXT NOT NULL, PRIMARY KEY (id), UNIQUE