Menu

#12 FIndByID method argument

v1.0 (example)
open
logistics (9)
8
2010-05-05
2010-05-05
No

The method findByID() in the controllers takes an integer argument but the primary key for our entities is always an object instance. So you must make the findByID method to take an object argument and do the handeling your self.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB