Gostaria de saber como eu faço para usar esta função com Unidac.
O Result é Boolean eu tenho que salvar um Json no banco. Existe alguma forma de utilizar o ApplyUpdate desta forma??
FireDac
function TProvidersCadastro.Append(const AJson: TJSONObject): Boolean;
begin
qryCadastro.SQL.Add('where 1 <> 1');
qryCadastro.Open();
qryCadastro.LoadFromJSON(AJson, False);
Result := qryCadastro.ApplyUpdates(0) = 0;
end;
UniQuery
Re: UniQuery
Hi there,
Thanks for your request!
Kindly note that our DAC products currently do not have built-in support for working with JSON in datasets.
You can leave your suggestion regarding JSON support in our DAC products at our user voice forum:
https://devart.uservoice.com/forums/104 ... components
In UniDAC, the ApplyUpdates method is a procedure that writes dataset's pending cached updates to a database and returns no result.
You can find more info about the ApplyUpdates method via the link: https://docs.devart.com/unidac/devart.d ... pdates.htm
Also, kindly note that Devart support team keeps correspondence on the forum in English only.
Thanks for your request!
Kindly note that our DAC products currently do not have built-in support for working with JSON in datasets.
You can leave your suggestion regarding JSON support in our DAC products at our user voice forum:
https://devart.uservoice.com/forums/104 ... components
In UniDAC, the ApplyUpdates method is a procedure that writes dataset's pending cached updates to a database and returns no result.
You can find more info about the ApplyUpdates method via the link: https://docs.devart.com/unidac/devart.d ... pdates.htm
Also, kindly note that Devart support team keeps correspondence on the forum in English only.