Commit Graph

15 Commits

Author SHA1 Message Date
5bcc63a62c Models: add automatic created_at property value 2020-08-28 14:16:25 +02:00
f47f01f147 Models: add autoFill method for asynchronous default value load 2020-08-28 14:16:06 +02:00
72c4f972a0 Cache model existence to support insert + update in the same transaction 2020-08-26 14:18:02 +02:00
76811dd0b8 Add more tests for Model 2020-08-05 10:45:13 +02:00
51addd947b Model: fix getById 2020-07-27 10:54:08 +02:00
5ca1ddef43 Move responsability of table field from ModelFactory to Model (static) 2020-07-27 10:53:46 +02:00
be6e659ca2 ModelFactory: refactor make into create 2020-07-27 10:52:39 +02:00
21b7def9e4 Fix some model refactor usages 2020-07-26 11:37:01 +02:00
c0dd48d064 Fix missing fields by default and fix model construction flow 2020-07-24 15:40:40 +02:00
7f398c1d4e Make models extendable 2020-07-24 12:58:06 +02:00
b043513fe8 Bug fixes and app settings 2020-06-27 17:12:50 +02:00
ec5b2b9aa0 Revamp model system
- Add model relations
- Get rid of SQL_CALC_FOUND_ROWS (deprecated)
- Eager loading
2020-06-27 14:45:05 +02:00
fa42b8991b Add query customization to model pagination 2020-06-14 21:47:51 +02:00
0970ff3116 Make model primaryKey dynamic (allows for composite primary keys) 2020-06-04 14:59:41 +02:00
662d12df68 Add sources 2020-04-22 17:49:58 +02:00