πŸ“Š Trishul API
Q. Which relationship returns a single record?
  • (A) hasMany()
  • (B) hasOne()
  • (C) where()
  • (D) count()
πŸ’¬ Discuss
βœ… Correct Answer: (B) hasOne()

Explanation: hasOne returns one record.

Explanation by: Roshan
hasOne returns one record.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
3 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
98%
Success Rate