- Home [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
- Getting started
- Use cases
-
API
- Object types
- Data types
- Global constants
-
Work with apps
- ApplicationBatchDeleteBuilder
- ApplicationBatchSaveBuilder
- ApplicationBatchSaver
- ApplicationBatchUpdateBuilder
- ApplicationBatchUpdater
- ApplicationBatcher
- ApplicationFieldOperand
- BaseFieldOperand
- BaseGlobalFilters
- ComparableFieldOperand
- ContextOperand
- DirectoriesSearch
- DocflowSettings
- FieldArrayOperand
- FieldOperand
- FilesSearch
- FolderSettings
- GlobalFilters
- GlobalFiltersWithWhere
- LineApplicationFieldOperand
- MailMessageSearch
- NomenclatureRegistrationSettings
- OrganisationStructureSearch
- PhoneFieldOperand
- ProcessInstanceSearch
- ProcessInstanceTaskSearch
- RefItemFieldOperand
- RegistrationSettings
- ReminderSearch
- ReplacementSearch
- ReportSearch
- ResetSettings
- Search
- SerialData
- SerialSettings
- SignatureSettings
- StatusHistorySearch
- StringFieldOperand
- TDocTemplate
- TFolder
- TNomenclature
- TNomenclatureDirectory
- TSettings
- UpdateOperations
- UserGroupSearch
- UserSearch
- Web requests
- Access permissions
- Document flow
- Live Chats
- “Code” widget
- Signatures
- Business calendars
- Integration with IP telephony
- Integration with email marketing services
Object of app item batch delete settings
The object allows basic configuration of batch deletion.
Type parameters
TFull: ItemData
Hierarchy
Methods
all
The method runs a batch delete.
Returns the number of actually deleted items according to ApplicationBatchDeleteBuilder.size, starting with ApplicationBatchDeleteBuilder.from. By default the size of the deleted items is limited to 10 entries. To delete more items, use the method ApplicationBatchDeleteBuilder.size.
const searchResults = await Application.batch() .delete() .where((f, g) => g.and ( f.__deletedAt.eq(null), f.str.eq(null) )) .all();
Returns Promise<number>
from
The method allows you to skip a specified number of items to be deleted.
Parameters
n: number
Returns this
notify
The method configures sending notifications when items are deleted.
Parameters
enabled: boolean
Returns this
size
The method allows you to set a limit on the number of items to be deleted.
Parameters
n: number
Returns this
sort
The method allows sorting the items to be deleted.
If the results need to be sorted by several parameters, you can call the method several times.
Parameters
field: keyof TFull
Optional ascending: undefined | false | true
Returns this
where
The method allows you to set a filter for the items to be deleted from the collection.
Parameters
fc: FilterClosure<TFull>
Returns this
Methods