333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
{"version":3,"sources":["../browser/src/repository/RemoveOptions.ts"],"names":[],"mappings":"","file":"RemoveOptions.js","sourcesContent":["/**\n * Special options passed to Repository#remove and Repository#delete methods.\n */\nexport interface RemoveOptions {\n\n    /**\n     * Additional data to be passed with remove method.\n     * This data can be used in subscribers then.\n     */\n    data?: any;\n\n    /**\n     * Indicates if listeners and subscribers are called for this operation.\n     * By default they are enabled, you can disable them by setting { listeners: false } in save/remove options.\n     */\n    listeners?: boolean;\n\n    /**\n     * By default transactions are enabled and all queries in persistence operation are wrapped into the transaction.\n     * You can disable this behaviour by setting { transaction: false } in the persistence options.\n     */\n    transaction?: boolean;\n\n    /**\n     * Breaks save execution into given number of chunks.\n     * For example, if you want to save 100.000 objects but you have issues with saving them,\n     * you can break them into 10 groups of 10.000 objects (by setting { chunk: 10 }) and save each group separately.\n     * This option is needed to perform very big insertions when you have issues with underlying driver parameter number limitation.\n     */\n    chunk?: number;\n\n}"],"sourceRoot":".."}