R

Ravina • 3.96K Points
Extraordinary

Q. How do you specify a maximum length for a query parameter?

  • (A) Query(..., limit=100)
  • (B) Query(..., max_length=100)
  • (C) MaxLength=100
  • (D) QueryField(max=100)
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`max_length` is used in `Query()` to limit the length of string parameters.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.