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-tables


LispWorks Reference Manual (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index