builder.pg avro_schema

This commit is contained in:
msyu
2025-09-13 11:40:16 +03:00
parent 951588a929
commit ab658a5a48
11 changed files with 341 additions and 56 deletions
+3
View File
@@ -37,6 +37,9 @@
<cfcase value="date,time,datetime">
<cfreturn "CF_SQL_TIMESTAMP"/>
</cfcase>
<cfcase value="guid">
<cfreturn "CF_SQL_OTHER"/>
</cfcase>
<cfcase value="string">
<cfreturn "CF_SQL_VARCHAR"/>
</cfcase>
+7
View File
@@ -74,6 +74,13 @@ arrayAppend(array,item) механически заменил на listAppend(li
</cfif>
</cfcase>
<cfcase value="guid">
<cfset element=trim(element)>
<cfif NOT isValid('guid',element)>
<cfset element=def/>
</cfif>
</cfcase>
<cfcase value="date">
<cftry>
<cfset element=CreateDateTime(ListGetAt(element,3,'.'), ListGetAt(element,2,'.'), ListGetAt(element,1,'.'),0,0,0)>