Get-Clue

(get-clue record key1 key2 keyN ...) -> list of values for the record
(get-clue record key) -> value for the record key, or false
(get-clue record) -> list of values for the record
(get-clue record-list key1 key2 keyN ...) -> list of list of values for each record for each key
(get-clue record-list key) -> list of values for each record
(get-clue record-list) -> list of parameter lists for each record

With only a clue-record as an argument, returns an association list of the keys and values in that record. Additionally, one or more key symbols may be given, which will return the values associated with those keys.

Example:

>> (define c (put-clue db (last-name "Jones") (nick-name "A.J.") customer))
:: [clue-record [vector [clue-db ...] (...)]]
>> (get-clue c)
:: ((last-name . "Jones") (nick-name . "A.J.") (customer . #t))
>> (get-clue c last-name)
:: "Jones"
>> (get-clue c first-name)
:: #f
>> (get-clue c nick-name last-name)
:: ("A.J." "Jones")

See Clue Database Library