Đánh máy cheat sheet
Ngày đăng:
17/12/2022
Trả lời:
0
Lượt xem:
69
Đưa ra một lược đồ được định nghĩa như sau, đây là cách bạn sẽ sao chép các truy vấn này bằng trình tạo truy vấn Show import { defineDocument } from 'sanity-typed-queries' // This object is the type of the person document for use in the below builder const { person } = defineDocument('person', { name: { type: 'string' } }) const { builder: movie } = defineDocument('movie, { title: { type: 'string' }, priority: { type: 'number' }, castMembers: { type: 'array', of: [ { type: 'reference', to: [{ type:'person' }], } ] }, }, [person]) Hạn chếSắp có Thao tác cắt lát
đặt hàng
tham gia
|