Jay Marcyes

Results 144 issues of Jay Marcyes

let's say you have 150 rows in a db, and you want to grab the last 50 descending, and then reverse them, it would make sense to do something like:...

It would be nice to have something like this: ```python class Field(BaseField): def type(self, val): if val is None: return val val_type = self.instance_type if issubclass(val_type, (int, float, bool)): val...

On one of our tests, the `foo/bar` script uses greenthreads, and when they both start up without a wait between them they will cause a connection pool error ``` python...

It would be great to have a where portion that can intermix with everything else, so you could do something like: ```python Orm.query.is_foo_id(10).where("bar_id=''".format(some_value)).is_che("blah") ``` would result in a query like:...

so you could do something like: ```python q.is_foo('MAX("foo")', raw=True) ``` and `MAX("foo")` would be passed directly for the `foo` field. This is a totally fake example, but it should get...

It's become a common workflow for me to set the primary key, and so I've had to change multiple orm's to do something like this: ```python from prom.exception import UniqueError...

In order to get around the lack of a `long` in python3, compat does this: ```python class long(int): pass ``` but `long` is used by the `prom.Field` to create `BIGINT`...

py3

Version 1.2.0 has Postgres return integer for any long value using a type adapter in python 2.7. Python 3 doesn't have this problem because `long` doesn't exist, so there actually...

Since we're leaving python27 support behind, the big thing on the todo list is to remove greenthreads in favor of async, this will be a rather large project involving prom,...

This syntax? ```python Bar.query.select_foo_id().eq_che(11).group_foo_id().desc("MAX(boo)") ``` would result in SQL like: ``` SELECT "foo_id" FROM "bar_table" WHERE "che" = 11 GROUP BY "foo_id" ORDER BY MAX("boo") DESC; ``` ### Links *...