X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fusql.lisp;h=1acd88a8abfcb751137de110c1c41edbbc1eda8e;hb=86d84b96f3e70bbb52c5701ec8f0eee611a3b3c9;hp=984dce073c0a95852a11e7b85b04f487c3ead742;hpb=7d50938ba2db52a713498e49aa1679deae6f0b6b;p=clsql.git diff --git a/sql/usql.lisp b/sql/usql.lisp index 984dce0..1acd88a 100644 --- a/sql/usql.lisp +++ b/sql/usql.lisp @@ -2,15 +2,15 @@ ;;;; ************************************************************************* ;;;; 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 ;;;; Date Started: Mar 2002 ;;;; -;;;; $Id: usql.lisp,v 1.1 2002/09/30 10:19:23 kevin Exp $ +;;;; $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*))