X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2Fclsql-tutorial.lisp;h=118ea2023ddb2f95756e6998460ef4ffce27e8a7;hb=f965db085f8c538eed152128887df3da640a1562;hp=deb453c1ed5d73cffba4f5872ba2e0a53d361e0a;hpb=d24b286628287f7a421384e0f475f167a8f0ab3a;p=clsql.git diff --git a/examples/clsql-tutorial.lisp b/examples/clsql-tutorial.lisp index deb453c..118ea20 100644 --- a/examples/clsql-tutorial.lisp +++ b/examples/clsql-tutorial.lisp @@ -34,7 +34,8 @@ :type (string 100) :initarg :email) (companyid - :type integer) + :type integer + :initarg :companyid) (company :accessor employee-company :db-kind :join @@ -156,8 +157,8 @@ (let ((new-lenin (car (clsql:select 'employee - :where [= [slot-value 'employee 'emplid] 1]) - :flatp t))) + :where [= [slot-value 'employee 'emplid] 1] + :flatp t)))) (format t "His new email is ~A" (employee-email new-lenin)))