|List:||MySQL++||« Previous MessageNext Message »|
|From:||Warren Young||Date:||May 20 2011 5:14am|
|Subject:||Re: SSQLS: Number of colomns in a table|
|View as plain text|
On 5/19/2011 2:45 PM, Warren Young wrote: >> $create_list .= " if (i$j == NAME##_NULL) return;\n" unless $i == 1; > > You can use NAME##::field_count here. I don't know what I was smoking at the time, but I just realized that the token pasting operator is totally unneeded here. NAME::field_count is just fine. Maybe even just "field_count", depending on the context.