Frage

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=]|
War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top