AirBnB_clone_v2 icon indicating copy to clipboard operation
AirBnB_clone_v2 copied to clipboard

Added get and count methods

Open JohnIanOngayi opened this issue 8 months ago • 0 comments

Added get method to return object dict by its class and id def get(self, cls, id

Added count method to return count of instances of a class def count(self, cls=None) if cls == None: all instances are counted else only cls instances are counted

JohnIanOngayi avatar Jun 07 '24 04:06 JohnIanOngayi