單項選擇題ORM操作:條件查詢多條數(shù)據(jù)的是()

A.models.Book.objects.all()
B.models.Book.objects.get(id=3)
C.models.Book..objects.filter(book_name=’python’)
D.models.Book.objects.create(full_name=’lsw’)


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題ORM操作:添加一條數(shù)據(jù)的是()

A.models.Book.objects.all()
B.models.Book.objects.get(id=3)
C.models.Book..objects.filter(book_name=’python’)
D.models.Book.objects.create(full_name=’lsw’)

2.單項選擇題ORM操作:返回一條數(shù)據(jù)的是()

A.models.Book.objects.all()
B.models.Book.objects.get(id=3)
C.models.Book..objects.filter(book_name=’python’)
D.models.Book.objects.create(full_name=’lsw’)

3.單項選擇題ORM操作:返回全部數(shù)據(jù)的是()

A.models.Book.objects.all()
B.models.Book.objects.get(id=3)
C.models.Book..objects.filter(book_name=’python’)
D.models.Book.objects.create(full_name=’lsw’)

4.單項選擇題將項目配置為中文簡體的設(shè)置是()

A.LANGUAGE_CODE =’en-us’
B.LANGUAGE_CODE =’zh-Hans’
C.LANGUAGE_CODE =’en-GB’
D.LANGUAGE_CODE =’ja-jp’

5.單項選擇題用于django執(zhí)行生成遷移文件的子命令是()

A.python manage.py makemigrations
B.python manage.py shell
C.python manage.py startapp app02
D.python manage.py migrate