new ListPolicy( [props])
Initializes a new ListPolicy from the provided policy values.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
props |
Object |
<optional> |
Policy values |
- Since:
-
- v3.3.0
- Source:
Members
-
order :number
-
Sort order for the list.
Type:
- number
- Default Value:
-
- Aerospike.lists.order.UNORDERED
- Source:
- See:
-
module:aerospike/lists.order
for supported policy values.
-
writeFlags :number
-
Specifies the behavior when replacing or inserting list items.
Type:
- number
- Default Value:
-
- Aerospike.lists.writeFlags.DEFAULT
- Source:
- See:
-
module:aerospike/lists.writeFlags
for supported policy values.