X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref-clsql-sys.xml;fp=doc%2Fref-clsql-sys.xml;h=56d16159545818583c908125ec8513622edde84b;hb=c41f8799ec65349cb2091c35b6036a466d019082;hp=0000000000000000000000000000000000000000;hpb=df962395ab0383287f613a13af5a051a76e43edd;p=clsql.git diff --git a/doc/ref-clsql-sys.xml b/doc/ref-clsql-sys.xml new file mode 100644 index 0000000..56d1615 --- /dev/null +++ b/doc/ref-clsql-sys.xml @@ -0,0 +1,103 @@ + + +%myents; +]> + + + <symbol>CLSQL-SYS</symbol> + + This part gives a reference to the symbols exported from + the package CLSQL-SYS, which are not exported + from CLSQL package.. These symbols are part of + the interface for database back-ends, but not part of the normal + user-interface of &clsql;. + + + + DATABASE-INITIALIZE-DATABASE-TYPE + Back-end part of initialize-database-type. + Generic Function + + + Syntax + database-initialize-database-type database-type => result + + + Arguments and Values + + + database-type + + A keyword indicating the database type to + initialize. + + + + result + + Either t if the initialization + succeeds or nil if it fails. + + + + + + Description + This generic function implements the main part of the + database type initialization performed by + initialize-database-type. After + initialize-database-type has checked + that the given database type has not been initialized + before, as indicated by + *initialized-database-types*, it will call + this function with the database type as it's sole + parameter. Database back-ends are required to define a + method on this generic function which is specialized via an + eql-specializer to the keyword representing their database + type. + Database back-ends shall indicate successful + initialization by returning t from their + method, and nil otherwise. Methods for + this generic function are allowed to signal errors of type + clsql-error or subtypes thereof. + They may also signal other types of conditions, if + appropriate, but have to document this. + + + Examples + + + + Side Effects + All necessary side effects to initialize the database + instance. + + + Affected By + None. + + + Exceptional Situations + Conditions of type clsql-error + or other conditions may be signalled, depending on the + database back-end. + + + See Also + + + initialize-database-type + *initialized-database-types* + + + + + Notes + None. + + +