Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/piccolo-orm/piccolo
/ AutoUpdateTable
Class
AutoUpdateTable
tests/table/test_update.py:581–585 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
579
580
581
class
AutoUpdateTable(Table, tablename=
"my_table"
):
582
name = Varchar()
583
modified_on = Timestamp(
584
auto_update=datetime.datetime.now, null=True, default=None
585
)
586
587
588
class
TestAutoUpdate(TestCase):
Callers
2
test_save
Method · 0.85
test_update
Method · 0.85
Calls
2
Varchar
Class · 0.90
Timestamp
Class · 0.90
Tested by
2
test_save
Method · 0.68
test_update
Method · 0.68