X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fdb-interface.cl;h=1ce86816d597771845e83075b4152cd12ed33a3c;hb=2073ba6b66571d3da57523dbdcb30ed6ffb4b161;hp=0fac5b28fd69ed0c4347d2519ff58ed416a91b33;hpb=a9c9179635656d100361bcd513e971f2d71c7ac8;p=clsql.git diff --git a/sql/db-interface.cl b/sql/db-interface.cl index 0fac5b2..1ce8681 100644 --- a/sql/db-interface.cl +++ b/sql/db-interface.cl @@ -9,7 +9,7 @@ ;;;; onShoreD to support UncommonSQL front-end ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: db-interface.cl,v 1.5 2002/04/01 05:27:55 kevin Exp $ +;;;; $Id: db-interface.cl,v 1.6 2002/04/19 20:25:20 marc.battyani Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; and Copyright (c) 1999-2001 by Pierre R. Mai, and onShoreD @@ -159,3 +159,16 @@ the given lisp type and parameters.")) (:documentation "Return the unique ID of a database object.")) +;;; Large objects support (Marc Battyani) + +(defgeneric database-create-large-object (database) + (:documentation "Creates a new large object in the database and returns the object identifier")) + +(defgeneric database-write-large-object (object-id (data string) database) + (:documentation "Writes data to the large object")) + +(defgeneric database-read-large-object (object-id database) + (:documentation "Reads the large object content")) + +(defgeneric database-delete-large-object (object-id database) + (:documentation "Deletes the large object in the database"))