AirBnB_clone_v2 icon indicating copy to clipboard operation
AirBnB_clone_v2 copied to clipboard

add get() and count() methods to the DBstorage and Filestorage classes

Open RadouaneAbn opened this issue 10 months ago • 0 comments

update DBstorage and Filestorage:

  • add a get() function that returns as instance with given id.
  • add a count() function that returns the number of all instances or the number all instances of given class.

RadouaneAbn avatar Mar 30 '24 02:03 RadouaneAbn