# 22. Virtuoso Functions Guide - dict_get

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Virtuoso Functions Guide
Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
dict_duplicate
dict_get
dict_list_keys
dict_new
dict_put
dict_remove
dict_to_vector
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY
Functions Index

## dict_get

Returns the dependant part that corresponds to the given key in the given dictionary.
any dict_get (in dict dictionary, in key any, [in default_value any]);
Description

The function returns the dependant part that corresponds to the given key in the given dictionary. The function returns default_value if the dictionary does not contain a pair whose key is equivalent to the given one. When only two arguments are passed to the function the default value is integer zero.

Parameters
dict – Dictionary object to search in.
key – Key whose dependant part should be found.
default_value – The default value to be returned if the key is not found in the dictionary.
Return Types

The function can return a value of any type.

See Also

dict_new

dict_put

dict_remove

dict_duplicate

dict_to_vector

dict_list_keys