Using wildcard operators when querying a database

Hello,

I was searching through documentation but I cannot seem to find anything pertaining to this.

Is it possible within Appian to query a database in a way that would be similar to the following SQL Query?

Select * from Table where tableID = tableID2

Basically I am trying to return rows where one column equals another column.

Thanks!

OriginalPostID-150044

OriginalPostID-150044

  Discussion posts and replies are publicly visible

Parents
  • @issamd AFAIK I don't think it's doable as of now. Probably an indirect way of doing it can be as follows:

    with(
    local!arrayOfField2Values:rule!getField2Values(),
    a!queryFilter(
    field: "field1",
    operator: "in",
    value: local!arrayOfField2Values
    )
    )

    An other alternative is to have a look at https://forum.appian.com/suite/tempo/records/type/components/item/i8BWsQdLlzKy55h8z8zJ0sPqpDWFrba_btZb9XmhOR1BKg7QGGvFF6eh5hlLPpeuA/view/summary which would help you make joins between data.
Reply
  • @issamd AFAIK I don't think it's doable as of now. Probably an indirect way of doing it can be as follows:

    with(
    local!arrayOfField2Values:rule!getField2Values(),
    a!queryFilter(
    field: "field1",
    operator: "in",
    value: local!arrayOfField2Values
    )
    )

    An other alternative is to have a look at https://forum.appian.com/suite/tempo/records/type/components/item/i8BWsQdLlzKy55h8z8zJ0sPqpDWFrba_btZb9XmhOR1BKg7QGGvFF6eh5hlLPpeuA/view/summary which would help you make joins between data.
Children
No Data