Home »
MCQs »
SQLAlchemy MCQs
If you want to validate whether the column value belongs to a collection of items in a list then which of the following functions you will use?
38. If you want to validate whether the column value belongs to a collection of items in a list then which of the following functions you will use?
- In()
- Like()
- Set_in()
- In_()
Answer: A) In()
Explanation:
In_() method validates whether the column value belongs to a collection of items in a list.