Is the scalar() method and one() method both perform the same functionality?

41. Is the scalar() method and one() method both perform the same functionality?

  1. Yes
  2. No

Answer: B) NO

Explanation:

No, both are different. Scalar() method returns the first element of the first result, whereas the one() method completely fetches all rows.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.