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.12.2
2024-10-02 09:46:13 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
]