- (clsql-sys::view-class-slot-db-kind
- (clsql-sys::slotdef-for-slot-with-class 'hobby (find-class 'person))))
+ (clsql::view-class-slot-db-kind
+ (clsql::slotdef-for-slot-with-class 'hobby (find-class 'person))))
:virtual :virtual)
;; Ensure all slots in view-class are view-class-effective-slot-definition
(deftest :ooddl/metaclass/2
(values
(every #'(lambda (slotd)
:virtual :virtual)
;; Ensure all slots in view-class are view-class-effective-slot-definition
(deftest :ooddl/metaclass/2
(values
(every #'(lambda (slotd)
- (typep slotd 'clsql-sys::view-class-effective-slot-definition))
- (clsql-sys::class-slots (find-class 'person)))
+ (typep slotd 'clsql::view-class-effective-slot-definition))
+ (clsql::class-slots (find-class 'person)))
- (typep slotd 'clsql-sys::view-class-effective-slot-definition))
- (clsql-sys::class-slots (find-class 'employee)))
+ (typep slotd 'clsql::view-class-effective-slot-definition))
+ (clsql::class-slots (find-class 'employee)))
- (typep slotd 'clsql-sys::view-class-effective-slot-definition))
- (clsql-sys::class-slots (find-class 'company))))
+ (typep slotd 'clsql::view-class-effective-slot-definition))
+ (clsql::class-slots (find-class 'company))))
(when (member *test-database-underlying-type* '(:postgresql :postgresql-socket))
(clsql:execute-command "set datestyle to 'iso'"))
(clsql:update-records [employee] :av-pairs `((birthday ,now))
:where [= [emplid] 1])
(when (member *test-database-underlying-type* '(:postgresql :postgresql-socket))
(clsql:execute-command "set datestyle to 'iso'"))
(clsql:update-records [employee] :av-pairs `((birthday ,now))
:where [= [emplid] 1])
(fail-index -1))
(when (member *test-database-underlying-type* '(:postgresql :postgresql-socket))
(clsql:execute-command "set datestyle to 'iso'"))
(dotimes (x 40)
(clsql:update-records [employee] :av-pairs `((birthday ,now))
:where [= [emplid] 1])
(fail-index -1))
(when (member *test-database-underlying-type* '(:postgresql :postgresql-socket))
(clsql:execute-command "set datestyle to 'iso'"))
(dotimes (x 40)
(clsql:update-records [employee] :av-pairs `((birthday ,now))
:where [= [emplid] 1])
- (let ((dbobj (car (clsql:select 'employee :where [= [birthday] now]))))
- (unless (clsql-base:time= (slot-value dbobj 'birthday) now)
+ (let ((dbobj (car (clsql:select 'employee :where [= [birthday] now]
+ :flatp t))))
+ (unless (clsql:time= (slot-value dbobj 'birthday) now)