私は立ち往生しています...これを機能させる方法を思い出せません。コード:
<cfquery name = "getsomething>
select a, b, c
from d
where id = '1'
</cfquery>
<cfloop collection="#arguments#" item="argument">
<cfif #StructFind(arguments, argument)# neq #getsomething.argument[0]#><!--- here's the problem --->
do something
</cfif>
</cfloop>
クエリは 1 つのレコードを返します。そのレコードの各列の値を取得する必要があります。列名は変数 (引数) です。どの構文を置き換える必要がありますか
#getsomething.argument[0]#
? ありがとう。