[Gambas-Notification] [Git][gambas/gambas][master] Connection.LastInsertId is a new property that returns the value of the serial…

Benoît Minisini gitlab at mg.gitlab.com
Tue Mar 20 16:09:16 CET 2018


Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
e07ac2e4 by gambas at 2018-03-20T15:05:33Z
Connection.LastInsertId is a new property that returns the value of the serial field used in the last inserted row.

[GB.DB]
* NEW: Connection.LastInsertId is a new property that returns the value of the serial field used in the last inserted row. It is supported on MySQL, PostgreSQL and SQLite3 only.
* BUG: Connection.Handle is correctly declared now.

[GB.DB.MYSQL]
* NEW: Support for Connection.LastInsertId.

[GB.DB.ODBC]
* NEW: Raise an error if Connection.LastInsertId is used.

[GB.DB.POSTGRESQL]
* NEW: Support for Connection.LastInsertId.

[GB.DB.SQLITE2]
* NEW: Raise an error if Connection.LastInsertId is used.

[GB.DB.SQLITE3]
* NEW: Support for Connection.LastInsertId.

- - - - -


9 changed files:

- gb.db.mysql/src/main.c
- gb.db.odbc/src/main.c
- gb.db.postgresql/src/main.c
- gb.db.sqlite2/src/main.cpp
- gb.db.sqlite3/src/main.c
- main/lib/db/CConnection.c
- main/lib/db/CResult.c
- main/lib/db/gb.db.h
- main/lib/db/gb.db.proto.h


View it on GitLab: https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55aa2b8351a08a810c1586

---
View it on GitLab: https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55aa2b8351a08a810c1586
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20180320/5cc9e147/attachment.html>


More information about the Notification mailing list