columns.vm

来自「torque服务器源代码」· VM 代码 · 共 14 行

VM
14
字号
#foreach ($col in $table.Columns)    #set ( $type = $dbprops.get($col.Type) )    #set ( $size = $col.printSize() )    #set ( $default = $col.DefaultSetting )    #set ( $nullString = $strings.select($col.isNotNull(), $dbprops.get("NOTNULL"),"") )    #if ($col.isAutoIncrement() && $table.IdMethod == "native")      #set ( $autoIncrement = $dbprops.get("AUTOINCREMENT") )    #else      #set ( $autoIncrement = " " )    #end        #set ( $entry = "$col.Name $type $size $autoIncrement," )    $strings.sub($strings.collapseSpaces($entry)," ,",",")#end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?