# [Ride v5] DeleteEntry
⚠️ This is the documentation for the Standard library version 5. We recommend to use version 6. Go to version 6
DeleteEntry
is a structure that sets the paramaters of deletion of entry from the account data storage. Deleting an entry is performed only if the structure is included in the callable function result.
# Constructor
DeleteEntry(key: String)
# Fields
# | Name | Data type | Description |
---|---|---|---|
1 | key | String | Entry key. The maximum size is 400 bytes |
# Example
{-# STDLIB_VERSION 5 #-}
{-# SCRIPT_TYPE ACCOUNT #-}
@Callable(inv)
func default() = {
(
[
DeleteEntry(inv.caller.toString())
],
unit
)
}