use the NotionAPILoader class instead.
NotionAPILoader
This feature is deprecated and will be removed in the future.
It is not recommended for use.
const loader = new NotionDBLoader({ pageSizeLimit: 10, databaseId: "{databaseId}", notionIntegrationToken: "{notionIntegrationToken}",});const docs = await loader.load(); Copy
const loader = new NotionDBLoader({ pageSizeLimit: 10, databaseId: "{databaseId}", notionIntegrationToken: "{notionIntegrationToken}",});const docs = await loader.load();
Loads the documents from Notion based on the specified options.
An array of Document objects.
Generated using TypeDoc
⚠️ Deprecated ⚠️
use the
NotionAPILoader
class instead.This feature is deprecated and will be removed in the future.
It is not recommended for use.
Example