github :: IssueRepo :: defaultinit
github :: IssueRepo :: find_by_repo
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
popcorn :: MongoRepository :: collection
MongoDB collection used to store objectspopcorn :: MongoRepository :: collection=
MongoDB collection used to store objectspopcorn :: JsonRepository :: defaultinit
core :: Object :: defaultinit
github :: IssueRepo :: defaultinit
popcorn :: Repository :: defaultinit
popcorn :: Repository :: deserialize
Deserialize astring
to an instance.
popcorn :: Repository :: find_by_id
Find an instance by it'sid
github :: IssueRepo :: find_by_repo
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).popcorn :: Repository :: remove_all
Remove all the instances matching onquery
popcorn :: Repository :: remove_by_id
Remove the instance withid
class IssueRepo
super MongoRepository[Issue]
fun find_by_repo(repo: Repo): Array[Issue] do
return find_all((new MongoMatch).eq("repo.full_name", repo.full_name))
end
end
lib/github/loader.nit:507,1--513,3