Next Prev Up Top Contents Index

list-attributes

Function
Summary

Returns a list of attributes from a table in a database.

Package

sql

Signature

list-attributes table &key database owner => result

Arguments

table

A table in the database.

database

A database.

owner

nil , :all or a string.

Values

result

A list of attributes.

Description

The function list-attributes returns a list of attributes from table in database , which has a default value of *default-database* .

If owner is nil , only user-owned attributes are considered. This is the default.

If owner is :all , all attributes are considered.

If owner is a string, this denotes a username and only attributes owned by owner are considered.

See also

attribute-type
list-attribute-types
list-tables


LispWorks Reference Manual - 13 Jun 2003

Next Prev Up Top Contents Index