gen: unify parameters :facepalm: (fix #45)
[sqlgg.git] / test / out / null.xml
blob763d8014e0679829b404344fa2ce7cfc73813274
1 <?xml version="1.0"?>
3 <sqlgg>
4  <stmt name="create_test" sql="CREATE TABLE IF NOT EXISTS `test` (&#x0A;  `id` INTEGER UNSIGNED PRIMARY KEY AUTO_INCREMENT,&#x0A;  `nullable` TIMESTAMP NULL&#x0A;)" kind="create" target="test" cardinality="0">
5   <in/>
6   <out/>
7  </stmt>
8  <stmt name="create" sql="INSERT INTO `test` (`nullable`) VALUES (&#x0A;  `nullable` = CASE @nullable WHEN 0 THEN NULL ELSE @nullable END&#x0A;)" kind="insert" target="test" cardinality="0">
9   <in>
10    <value name="nullable" type="Int"/>
11   </in>
12   <out/>
13  </stmt>
14 </sqlgg>