Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
athena-demo-blog
master
Blog
Commands
DBMigrate
Controllers
ArticleController
Entities
Article
Repository
CreatedAtAware
Entity
Repository
SoftDeletable
UpdatedAtAware
Entity
Listeners
TransactionId
Resolvers
Database
Entity
Services
EntityManager
TransactionIdStore
Generated using Crystal 1.14.0
2024-12-02 13:56:08 UTC
abstract class
Blog::
Entities::
Repository(E)
Blog::Entities::Repository(E)
Reference
Object
Direct Known Subclasses
Blog::Entities::Article::Repository
Defined in:
entities/repository.cr
Constructors
.new
(database : DB::Database)
Instance Method Summary
#find?
(id : Int64) : E | Nil
#find_all
: Array(E)
Constructor Detail
def self.
new
(database : DB::Database)
#
[
View source
]
Instance Method Detail
def
find?
(id : Int64) : E | Nil
#
[
View source
]
def
find_all
: Array(E)
#
[
View source
]