X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fusql.lisp;h=1acd88a8abfcb751137de110c1c41edbbc1eda8e;hb=0196e0db0edccccab4cd8a0d6309e768a98667fd;hp=7a7420c0cb226ea3727cd992640f2a4942308e39;hpb=bada52b7a8fd2cc484dee33cccd64ca09a52ec3d;p=clsql.git diff --git a/sql/usql.lisp b/sql/usql.lisp index 7a7420c..1acd88a 100644 --- a/sql/usql.lisp +++ b/sql/usql.lisp @@ -2,7 +2,7 @@ ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; -;;;; Name: usql.cl +;;;; Name: usql.lisp ;;;; Purpose: High-level interface to SQL driver routines needed for ;;;; UncommonSQL ;;;; Programmers: Kevin M. Rosenberg and onShore Development Inc @@ -10,7 +10,7 @@ ;;;; ;;;; $Id$ ;;;; -;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; This file, part of CLSQL, is Copyright (c) 2002-2004 by Kevin M. Rosenberg ;;;; and onShore Development Inc ;;;; ;;;; CLSQL users are granted the rights to distribute and use this software @@ -20,17 +20,18 @@ ;;; Minimal high-level routines to enable low-level interface for USQL +;;; Thse functions are not exported. If you application depends on these +;;; consider using the clsql-usql package. -(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :clsql-sys) -(defun list-tables (&key (database *default-database*) - (system-tables nil)) +(in-package #:clsql-sys) + +(defun list-tables (&key (database *default-database*)) "List all tables in *default-database*, or if the :database keyword arg is given, the specified database. If the keyword arg :system-tables is true, then it will not filter out non-user tables. Table names are given back as a list of strings." - (database-list-tables database :system-tables system-tables)) + (database-list-tables database)) (defun list-attributes (table &key (database *default-database*))