Jaymon / prom

A PostgreSQL or SQLite orm for Python
MIT License
22 stars 4 forks source link

Orm.created and _created field #124

Closed Jaymon closed 3 years ago

Jaymon commented 3 years ago

We had some code that did something like this:

o = Orm.create(**kwargs)
print(o._created) # datetime

kwargs["_id"] = o.pk
o = Orm.create(**kwargs)
print(o._created) # None

Not sure why _created was getting set to None but it should be investigated