質問

How can I store query output in a variable?

I have following query table:

|Query:SomeQueryClass|
|ObjId|ObjValue|
|someId|<IWantToStoreThisValue>|

I tried following:

|Query:SomeQueryClass|
|ObjId|ObjValue|
|someId|$value=|

However test fails and I have following output

|Query:SomeQueryClass|
|ObjId|ObjValue|
|someId|[realValue] expected [$value=]|
役に立ちましたか?

解決

I found another way to solve this problem.

For example $object contains data I need to store in a variable

!|$object|
|getVariable1?|getVariable2?|
|$var1=|$var2=|

and data is stored in var1 and var2

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top