X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=sql%2Fclasses.lisp;h=80d735c1ee07eed15b4a6d13f20d35116382477f;hb=4d46d4d631cad1c4fe3accbe99f4182d975fd678;hp=6848621aa387c6436a22907ce5863c0b59589580;hpb=3310e4f8fcec920ce6d3d60878f13899746c70c7;p=clsql.git diff --git a/sql/classes.lisp b/sql/classes.lisp index 6848621..80d735c 100644 --- a/sql/classes.lisp +++ b/sql/classes.lisp @@ -661,7 +661,11 @@ uninclusive, and the args from that keyword to the end." (with-slots (into attributes values query) ins (write-string "INSERT INTO " *sql-stream*) - (output-sql into database) + (output-sql + (typecase into + (string (sql-expression :attribute into)) + (t into)) + database) (when attributes (write-char #\Space *sql-stream*) (output-sql attributes database))