I want to put price qty and exchange_name but if the price already in the table i just want to update the quantity. if the price is not in the table I want to insert it. Is there a function to check if the price is already present, update it and if not insert it? Else how do I check if price in the table .
table:([]price:();qty:();exchange_name:())