march
march
DTDrizzle Team
Created by march on 6/3/2024 in #help
How to accomplish the following JSON format on retrievals
How can I format my query so that drizzle returns a property like so:
Book {
bookId: 1,
title: 'Book title',
author: 'Book author',
synopsis: 'Book synopsis',
datePublished: '2024-01-06'
genres: [
"g1",
"g2"
],
rating: 10.0,
coverImage: 'some/image/path.png'
}
Book {
bookId: 1,
title: 'Book title',
author: 'Book author',
synopsis: 'Book synopsis',
datePublished: '2024-01-06'
genres: [
"g1",
"g2"
],
rating: 10.0,
coverImage: 'some/image/path.png'
}
18 replies