Directus / @directus/sdk / rest / utilsImport
Function: utilsImport() ​
utilsImport<
Schema
>(collection
,data
):RestCommand
<void
,Schema
>
Import multiple records from a JSON or CSV file into a collection.
Type Parameters ​
• Schema
Parameters ​
• collection: keyof Schema
• data: FormData
Returns ​
RestCommand
<void
, Schema
>
Nothing