Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Logic operators -- or

$
0
0

Do you mean “if the value is 1 then use A, otherwise use B”? In that case you want:

if this_foreign_key == '1' then 'A' else 'B' end

Viewing all articles
Browse latest Browse all 2665

Trending Articles