<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>> schrieb am Di., 2. Juli 2019, 08:20:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Mon, 1 Jul 2019, Sven Barth via fpc-pascal wrote:<br>
<br>
> Am 01.07.2019 um 23:18 schrieb Michael Van Canneyt:<br>
>><br>
>>><br>
>>> By the way: is it correct that the sqldbrestdataset currently does <br>
>>> not support editing/inserting/deleting entries? Do you plan to change <br>
>>> this?<br>
>><br>
>> Ehm, no, of course it is supposed to support that. It would not be <br>
>> much good if it didn't :-)<br>
>><br>
>> Do you get errors ?<br>
> No. If I use the JSONClient example, list the Users resources, then edit <br>
> an entry and commit all looks fine so far. However if I then use Get <br>
> Resource Data again the original data will be restored (also a look into <br>
> the database showed no change). Same when I add a new entry (btw: is it <br>
> normal that all rows in the grid appear to be empty after pressing the <br>
> Insert button and if I enter new data the other rows appear to have that <br>
> data as well?) or delete one.<br>
<br>
As far as I know, the JSON client does not apply updates to the server ?<br>
Neither does the bufdataset client. That simply has not been coded.<br>
<br>
I test all GET/PUT/POST/DELETE with curl or wget.<br>
and with some pas2js & TMS Web Core clients, with those I know that the<br>
updates are coded.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Well, my plan is a desktop application that uses a web server backend. So I had hoped for a ready-made solution. Seems like I'll have to implement that in the SQLDBRestClient myself... </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>