use the NotionAPILoader class instead.

const loader = new NotionDBLoader({
pageSizeLimit: 10,
databaseId: "{databaseId}",
notionIntegrationToken: "{notionIntegrationToken}",
});
const docs = await loader.load();

Hierarchy (view full)

Implements

Constructors

Properties

databaseId: string
integrationToken: string
notionApiVersion: string
pageSizeLimit: number

Methods

""