primary-violetP
Apify & Crawlee2y ago
6 replies
primary-violet

ForceCloud

I find the docs around the forceCloud behavior confusing. Is this feature still available? None of these statements from the SDK docs seem to hold true currently, with the SDK:

Note that you can force usage of the cloud storage also by passing the forceCloud option to Dataset.open function, even if the APIFY_LOCAL_STORAGE_DIR variable is set.

Dataset stores its data either on local disk or in the Apify cloud, depending on whether the APIFY_LOCAL_STORAGE_DIR or APIFY_TOKEN environment variables are set.

Also, what is StorageManagerOptions as referenced in the docs?

https://docs.apify.com/sdk/js/reference/class/Dataset#open
The Dataset class represents a store for structured data where each object stored has the same attributes,
such as online store products or real estate offers. You can imagine it as a table,
where each object is a row and its attributes are columns.
Dataset is an append-only storage - you can only add new records to it but you cannot modify or...
Dataset | API | SDK for JavaScript | Apify Documentation
Was this page helpful?