Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
accgit authored Aug 16, 2024
1 parent 9a108d7 commit f561dfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class SampleEntity extends Drago\Database\Entity

Basic repository.
```php
/** @extends Database<SampleEntity> **/
#[From(SampleEntity::Table, SampleEntity::PrimarKey)]
class Repository extends Database {}
```
Expand Down

0 comments on commit f561dfb

Please sign in to comment.