Jay Marcyes

Results 144 issues of Jay Marcyes

Would it be worth being able to do something like this: ```python SomeOrm.query.select_max_field_name ``` Which would result in: ``` SELECT MAX(field_name) ... ``` Basically make the magic method parser support...

question

* [ ] Upsert return value should match insert and update, right now it is returning just the primary key, similar to what insert previously returned. This should be updated...

this is related to [a similar issue on Endpoints](https://github.com/Jaymon/endpoints/issues/136). It would be nice for certain errors to have more information. For example, missing fields when saving into the db, they...

This is something I need to check on to see what prom does, say I do something like this: ```python f = Foo(pk="", bar="some value") await f.save() ``` What does...

question

Ok, the idea would be you could do something like this: ``` one = Field(str) two = Field(str) three = Field(str, depends=["one", "two"]) ``` That will cause `Schema.fields` to order...

* `sw_field` is `startswith_field` * `ew_field` is `endswith_field`

Right now we have wrapper `enum.Enum` support, but I could [support enum natively in postgres](https://www.psycopg.org/psycopg3/docs/basic/adapt.html#enum-adaptation)

First, what is a relative classpath? It's doing something like this: ```python class Foo(Orm): bar = Field("..some.classpath.to.Bar") ``` The beginning `..` in `..some.classpath.to.Bar` would be a relative classpath because it...

https://docs.python.org/3.11/library/sqlite3.html#how-to-work-with-sqlite-uris

Looks like Postgres 15 has [a new thing](https://stackoverflow.com/a/8289253) where you can set `UNIQUE NULLS NOT DISTINCT` so that NULL values aren't treated as always different. Would I want to support...