How to get data from db without using reference of state

(Viswanathan S) #1

@roger m trying to get the value from db without using serviceHub and vault.but i couldn’t. what my logic is, when i pass the country name, it should return the id’s(PK)of that country which is in one table.using those id’s, it should return the values related to those id’s from other could be possible in flow class.but am trying to do in api class where servicehub couldn’t import. Please help me out.

(Kiara) #2

U can use rpcOps instead of service Hub in API.

(Viswanathan S) #3

got it. thanks Kiara…