mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 10:56:10 +02:00
Add comments in transforms.lisp.
This commit is contained in:
parent
ed6ba23bcb
commit
0d3c6f4a2c
@ -22,10 +22,18 @@
|
||||
float-to-string
|
||||
set-to-enum-array))
|
||||
|
||||
|
||||
;;;
|
||||
;;; Some tools for reading expressions in the parser, and evaluating them.
|
||||
;;;
|
||||
(defun intern-symbol (symbol-name)
|
||||
(intern (string-upcase symbol-name)
|
||||
(find-package "PGLOADER.TRANSFORMS")))
|
||||
|
||||
|
||||
;;;
|
||||
;;; Transformation functions
|
||||
;;;
|
||||
(defun zero-dates-to-null (date-string)
|
||||
"MySQL accepts '0000-00-00' as a date, we want NIL (SQL NULL) instead."
|
||||
(cond
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user