Home »
MCQs »
SQLAlchemy MCQs
Which of the following methods returns the first element of the first result?
40. Which of the following methods returns the first element of the first result?
- One()
- First()
- Scalar()
- Fetch()
Answer: C) Scalar()
Explanation:
Scalar() method returns the first element of the first result.