LIST-ATTRIBUTES — Returns the attributes of a table as a list.
Function
list-attributes name &key owner database => result
The name of a table as a string, symbol or SQL expression.
A string, NIL or :all.
A database object which defaults to *default-database*.
A list.
Returns a list of strings representing the attributes of table name in database which defaults to *default-database*. owner is NIL by default which means that only attributes owned by users are listed. If owner is a string denoting a user name, only attributes owned by owner are listed. If owner is :all then all attributes are listed.
(list-attributes [employee]) => ("emplid" "groupid" "first_name" "last_name" "email" "ecompanyid" "managerid" "height" "married" "birthday" "bd_utime")
None.
*default-database*
None.
None.