mini\Database\Attributes\UpdatedAt
class
Documentation
Marks property as an update timestamp
Query: Parsed internally by Dehydrator — never use ReflectionClass directly.
During dehydration, the property value is always set to the current datetime.
Works with DateTimeImmutable, DateTime, and string properties.
Example:
#[UpdatedAt]
public ?\DateTimeImmutable $updated_at = null;
#[UpdatedAt]
public string $updated_at;