fukamachi / integral

[OBSOLETE] Use Mito instead.
https://github.com/fukamachi/mito
BSD 3-Clause "New" or "Revised" License
54 stars 3 forks source link

How about inflate and deflate based on column-type #18

Closed rudolph-miller closed 9 years ago

rudolph-miller commented 9 years ago

like (defmethod type-inflate ((type 'timestamp) value) (local-time:universal-to-timestamp value))

If Integral can handle type-inflate and type-deflate, people can handle custom type.

rudolph-miller commented 9 years ago

(defclass user () ((name :type string) (tag :type cons))) (defmethod deflate ((type cons) value) (list-to-csv value)) (defmethod inflate ((type cons) value) (csv-to-list value)) or so.

fukamachi commented 9 years ago

Cool. I think it's quite useful :sparkles: