[Gambas-Notification] [Git][gambas/gambas][master] 2 commits: Support for returning the newly inserted record. Add 'Connection.FullVersion' property.
Benoît Minisini (@bminisini)
gitlab at mg.gitlab.com
Fri Jul 14 12:10:12 CEST 2023
Benoît Minisini pushed to branch master at Gambas / gambas
Commits:
257bd622 by Benoît Minisini at 2023-07-14T12:08:11+02:00
Support for returning the newly inserted record. Add 'Connection.FullVersion' property.
[GB.DB]
* NEW: Connection: 'Create()' now has an optional 'Return' boolean argument
to tell if the 'Result.Update()' method will fill the Result with the
contents of the newly inserted record. It is based on the optional
'INSERT INTO ... RETURNING' SQL feature.
* NEW: Connection: The 'FullVersion' property now return the full version
string of the database server.
* NEW: Database drivers can tell if they do not support the 'RETURNING'
keyword.
* NEW: Database drivers now must provide the full version string of they
database server they connect to.
- - - - -
72971105 by Benoît Minisini at 2023-07-14T12:08:51+02:00
Support for new 'Connection.FullVersion' property in database drivers. Tells if 'RETURNING' keyword is implemented.
[GB.DB.MYSQL]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.
[GB.DB.ODBC]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.
[GB.DB.POSTGRESQL]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.
[GB.DB.SQLITE2]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.
[GB.DB.SQLITE3]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.
- - - - -
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/CResult.h
- main/lib/db/gb.db.h
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/d7259e14322333ce916b0dddb1c410e1384d18a0...72971105ef065bbc3ce4a4054699509e88488c75
--
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/d7259e14322333ce916b0dddb1c410e1384d18a0...72971105ef065bbc3ce4a4054699509e88488c75
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/20230714/77408be6/attachment.htm>
More information about the Notification
mailing list