X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base%2Fdb-interface.lisp;h=3b84d95bd7e19badc6048e7ec726150ff8e13558;hb=f716bb1161cf9e89a96945c4a444244f9d303691;hp=2d52105bd2bb3dc478c1cc7b570c9499896ab625;hpb=cff8a2497b3f111a43d819476b55bfad2b447532;p=clsql.git diff --git a/base/db-interface.lisp b/base/db-interface.lisp index 2d52105..3b84d95 100644 --- a/base/db-interface.lisp +++ b/base/db-interface.lisp @@ -52,9 +52,9 @@ was called with the connection-spec.")) (signal-no-database-error database)) (:documentation "Internal generic implementation of disconnect.")) -(defgeneric database-query (query-expression database result-types) - (:method (query-expression (database t) result-types) - (declare (ignore query-expression result-types)) +(defgeneric database-query (query-expression database result-types field-names) + (:method (query-expression (database t) result-types field-names) + (declare (ignore query-expression result-types field-names)) (signal-no-database-error database)) (:documentation "Internal generic implementation of query.")) @@ -186,7 +186,8 @@ the given lisp type and parameters.")) (:documentation "List all attributes in TABLE.")) (defgeneric database-attribute-type (attribute table database &key owner) - (:documentation "Return the type of ATTRIBUTE in TABLE.")) + (:documentation "Return the type of ATTRIBUTE in TABLE. Returns multiple values +of TYPE_NAME (keyword) PRECISION SCALE NULLABLE.")) (defgeneric database-add-attribute (table attribute database) (:documentation "Add the attribute to the table.")) @@ -277,8 +278,8 @@ the given lisp type and parameters.")) (signal-closed-database-error database))) (defmethod database-query :before (query-expression (database database) - result-set) - (declare (ignore query-expression result-set)) + result-set field-names) + (declare (ignore query-expression result-set field-names)) (unless (is-database-open database) (signal-closed-database-error database)))