Skip to content

Commit

Permalink
Allow to serialize structure-object.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Feb 8, 2016
1 parent a3aec44 commit 31dcbef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/operator.lisp
Expand Up @@ -4,7 +4,8 @@
:sxql.sql-type)
(:import-from :sxql.sql-type
:sql-statement-p
:conjunctive-op-expressions))
:conjunctive-op-expressions
:sql-all-type))
(in-package :sxql.operator)

(cl-syntax:use-syntax :annot)
Expand Down Expand Up @@ -130,7 +131,8 @@ case letters."
(if (keywordp (car object))
(apply #'make-op object)
(mapcar #'detect-and-convert object)))
(structure-object object)
(sql-all-type object)
(structure-object (make-sql-variable (princ-to-string object)))
(standard-object (make-sql-variable (princ-to-string object)))))

(defmethod yield ((op is-null-op))
Expand Down

0 comments on commit 31dcbef

Please sign in to comment.