chore: add comments to standalone script
This commit is contained in:
parent
73e8fb60b5
commit
6e3dc91fad
@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* This is an example of a standalone script that loads in the Payload config
|
||||||
|
* and uses the Payload Local API to query the database.
|
||||||
|
*/
|
||||||
|
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'payload'
|
||||||
import { importConfig } from 'payload/node'
|
import { importConfig } from 'payload/node'
|
||||||
import 'dotenv/config'
|
import 'dotenv/config'
|
||||||
|
Loading…
Reference in New Issue
Block a user