mirror of
https://github.com/strapi/strapi.git
synced 2025-08-21 07:09:31 +00:00
11 lines
213 B
TypeScript
11 lines
213 B
TypeScript
import type { Strapi } from './typings';
|
|
|
|
function main(strapi: Strapi) {
|
|
const r = strapi.query('restaurant').findOne({
|
|
select: ['id', 'description'],
|
|
where: {
|
|
$and: [{ id: '1' }],
|
|
},
|
|
});
|
|
}
|