projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9211: add *backend-warning-behavior
[clsql.git]
/
tests
/
test-oodml.lisp
diff --git
a/tests/test-oodml.lisp
b/tests/test-oodml.lisp
index 6ea820a615a97e3f92678cf5831955717ac37679..7cac6feae92ebfcf34d62ca10246ee518e68c271 100644
(file)
--- a/
tests/test-oodml.lisp
+++ b/
tests/test-oodml.lisp
@@
-54,11
+54,18
@@
:order-by [last-name]))
("Vladamir Lenin" "Vladamir Putin"))
:order-by [last-name]))
("Vladamir Lenin" "Vladamir Putin"))
-;; sqlite fails this because it is typeless
(deftest :oodml/select/5
(length (clsql:select 'employee :where [married] :flatp t))
3)
(deftest :oodml/select/5
(length (clsql:select 'employee :where [married] :flatp t))
3)
+(deftest :oodml/select/6
+ (slot-value (caar (clsql:select 'employee :where [= 1 [emplid]])) 'married)
+ t)
+
+(deftest :oodml/select/7
+ (slot-value (caar (clsql:select 'employee :where [= 4 [emplid]])) 'married)
+ nil)
+
;; tests update-records-from-instance
(deftest :oodml/update-records/1
(values
;; tests update-records-from-instance
(deftest :oodml/update-records/1
(values