Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django command to fetch all columns of a table

table = Country.objects.values_list('name_of_the_country', 'country_code')
 
PREVIOUS NEXT
Tagged: #django #command #fetch #columns #table
ADD COMMENT
Topic
Name
1+1 =