11 lines
213 B
TypeScript
Raw Normal View History

2021-06-17 16:17:15 +02:00
import type { Strapi } from './typings';
function main(strapi: Strapi) {
const r = strapi.query('restaurant').findOne({
select: ['id', 'description'],
where: {
$and: [{ id: '1' }],
},
});
}