mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-05 19:32:56 +00:00
* Sets `"useCodeBlocks": true` * Adds a post-processing script `nodejs/typedoc_post_process.js` that puts the parameter description on the same line as the parameter name, like it is in our Python docs. This makes the text hierarchy clearer in those sections and also makes the sections shorter.
671 B
671 B
@lancedb/lancedb • Docs
@lancedb/lancedb / OptimizeOptions
Interface: OptimizeOptions
Properties
cleanupOlderThan
cleanupOlderThan: Date;
If set then all versions older than the given date be removed. The current version will never be removed. The default is 7 days
Example
// Delete all versions older than 1 day
const olderThan = new Date();
olderThan.setDate(olderThan.getDate() - 1));
tbl.cleanupOlderVersions(olderThan);
// Delete all versions except the current version
tbl.cleanupOlderVersions(new Date());
deleteUnverified
deleteUnverified: boolean;