[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #3042: Empty result object, but now with gb.db2
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #3042: Empty result object, but now with gb.db2
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Wed, 07 May 2025 23:28:02 GMT
- To: msdesarrollo21@xxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.3042&from=L21haW4- Comment #3 by Benoît MINISINI: This is another problem with sqlite. I think you have created the database outside of Gambas, and so the 'id' field is not detected as a serial field. Only serial fields are retrieved by the 'Create()' method using the 'RETURNING' keyword, for optimization reasons. If you transform the 'id' field into a recognized serial field from the Gambas IDE, the value of the 'id' field will be correctly retrieved. ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----
[Gambas-bugtracker] Bug #3042: Empty result object, but now with gb.db2 | <bugtracker@xxxxxxxxxxxxxx> |