JDBC Driver for REST

Build 20.0.7654

api:unset

The api:unset keyword is used to delete attributes from an item or delete the item itself.

Parameters

  • item: The item from which the attribute is to be removed. If you do not specify an item, the default output item is used. This parameter can also be used to remove an item.
  • attr: The attributes to delete from the item. You can use a glob mask to delete more than one parameter, for example, "*.foo".

Control Attributes

None

Examples

Remove an attribute from an item before it is pushed out:

<api:call op="fileListDir">
  <api:unset attr="file:size"/>
  <api:push/>
</api:call>

See Also

  • api:set: Set attributes in an item.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654