X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=examples%2Fclsql-tutorial.lisp;h=265ae6d2e34edb1930ac537b1a4c77d29f2b3aca;hp=5d240d58dd645df5d559ee10588d032b5057224d;hb=fc58e4fb7d908985389c86adf57ddee6c1dde5d2;hpb=598b5c986330456a7aa91dc0decad372f8933ca7 diff --git a/examples/clsql-tutorial.lisp b/examples/clsql-tutorial.lisp index 5d240d5..265ae6d 100644 --- a/examples/clsql-tutorial.lisp +++ b/examples/clsql-tutorial.lisp @@ -4,7 +4,7 @@ ;; You must set these variables to appropriate values. (defvar *tutorial-database-type* nil - "Possible values are :postgresql,:postgresql-socket :mysql, + "Possible values are :postgresql :postgresql-socket, :mysql, :oracle, :odbc, :aodbc or :sqlite") (defvar *tutorial-database-name* "clsqltut" "The name of the database we will work in.") @@ -34,7 +34,8 @@ :type (string 100) :initarg :email) (companyid - :type integer) + :type integer + :initarg :companyid) (company :accessor employee-company :db-kind :join @@ -85,7 +86,7 @@ ;; Connect to the database (see the CLSQL documentation for vendor ;; specific connection specs). (case *tutorial-database-type* - ((:mysql :postgresql) + ((:mysql :postgresql :postgresql-socket) (clsql:connect `(,*tutorial-database-server* ,*tutorial-database-name* ,*tutorial-database-user*