Commit graph

8 commits

Author SHA1 Message Date
Simon Willison
292f140a4f Explicitly order by pk (or by rowid)
Refs #5
2017-11-09 08:11:14 -08:00
Simon Willison
bc9871c935 gt/lt/gte/lte now treat numeric arguments as numeric
This now works:

    https://immutabase-dlmggyoepw.now.sh/northwind-40d049b/Products?UnitsInStock__gt=100

Previously the input value of 100 would be treated as a string.

Also fixed a bug where filter arguments had stopped working entirely.

Refs #23
2017-11-09 08:09:55 -08:00
Simon Willison
d9fa2bf7ba Use rowid if no primary key available
Allows us to link to individual records even for tables that do not have a primary key.

Refs #5
2017-11-09 06:39:50 -08:00
Simon Willison
b2dee11fcd Databases now get distinct colours
A left border based on their content hash.

Closes #31
2017-11-09 06:14:40 -08:00
Simon Willison
abb591d832 Added --reload argument to 'immutabase serve' command
Uses hupper to restart the server when the code changes. Useful for development.

Depends on https://pypi.python.org/pypi/hupper
2017-11-09 06:14:26 -08:00
Simon Willison
7e0cedae3d Now using bootstrap 4 beta
Refs #16
2017-11-05 18:49:07 -08:00
Simon Willison
9e9e961390 Fixed error in RowView 2017-11-05 18:38:06 -08:00
Simon Willison
25c241fa5a Renamed project to immutabase 2017-11-05 18:32:13 -08:00