mirror of
https://github.com/strapi/strapi.git
synced 2025-08-22 15:48:59 +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' }],
|
||
|
},
|
||
|
});
|
||
|
}
|