Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

@action(detail=true) meaning

If you pass detail=True it means that that router will return you 
a single object whilst if you don't pass detail=True or 
pass detail=False it will return a list of objects.

One thing to have in mind is that if you are not doing anything 
or don’t need a single object in this function, you can set the 
detail=False
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #meaning
ADD COMMENT
Topic
Name
6+3 =