Jay Marcyes

Results 83 comments of Jay Marcyes

https://github.com/Jaymon/prom/issues/120 Honestly, `where` and `raw_field` could be aliases of the same method

https://github.com/Jaymon/prom/issues/57

The `Orm.testdata` method can go through all the fields, if one of the fields is a foreign key, it can then call that Orm's testdata method so it can layer...

I think https://github.com/Jaymon/prom/blob/master/prom/extras/testdata.py handles this. It allows fields to have a `testdata` method that it will use.

[Django](https://stackoverflow.com/questions/37335494/django-get-all-columns-as-a-list) [uses fields](https://docs.djangoproject.com/en/2.2/topics/db/models/), which is probably why I chose `fields` since Django was the last orm I had used before writing prom. Doctrine [uses columns](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/basic-mapping.html#basic-mapping), this is what we used...

https://www.postgresql.org/docs/8.3/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT

This just bit me again. I could modify certain methods (eg, lte_field, gte_field) to change how they handle the date, so doing something like: ```python stop_dt = datetime.datetime.utcnow() query.lte_stop( year=stop_dt.year,...

This would work but it is about the same amount of cognitive overhead, in order to use this you need to do: ```python import sqlite3 print(sqlite3.paramstyle) ``` So for the...

> Warning Because the psycopg wheel package uses its own libssl binary, it is incompatible with other extension modules binding with libssl as well, for instance the Python ssl module:...

The Orm could pull out the fields, run the needed methods and reset them into the Query instance before passing it to the Interface