-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add convenience method DoArray() to Kernel::System::DB #2447
Comments
bschmalhofer
added a commit
that referenced
this issue
Aug 8, 2023
bschmalhofer
added a commit
that referenced
this issue
Aug 8, 2023
Issue #2447: add the method DoArray()
bschmalhofer
changed the title
Add convenience metho DoArray() to Kernel::System::DB
Add convenience method DoArray() to Kernel::System::DB
Aug 8, 2023
PR is merged, but let's keep this issue open in case the implementation needs to be enhanced. |
bschmalhofer
added a commit
that referenced
this issue
Aug 10, 2023
The scalar will be used for all relevant rows.
bschmalhofer
added a commit
that referenced
this issue
Aug 10, 2023
TODO:
|
bschmalhofer
added a commit
that referenced
this issue
Aug 11, 2023
bschmalhofer
added a commit
that referenced
this issue
Aug 11, 2023
that is, force scalar context when calling execute_array()
bschmalhofer
added a commit
that referenced
this issue
Aug 11, 2023
ArrayTupleFetch is now working too. Closing this issue. |
bschmalhofer
added a commit
that referenced
this issue
Sep 22, 2023
bschmalhofer
added a commit
that referenced
this issue
Sep 22, 2023
bschmalhofer
added a commit
that referenced
this issue
Sep 22, 2023
There is no need to call Prepar() in list context, even for the 'Execute => 0' case. Change because strange effects have been reported.
bschmalhofer
added a commit
that referenced
this issue
Sep 22, 2023
There is no need to call Prepare() in list context, even in the 'Execute => 0' case. Changed because strange effects have been reported.
bschmalhofer
added a commit
that referenced
this issue
Sep 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes it is convenient to insert, update or delete several rows in on statement. For that purpose, DBI provides the method
execute_array()
. This method accepts arrrayrefs as bind variables. This functionality can be made available to OTOBO via the new methodKernel::System::DB::DoArray()
.The text was updated successfully, but these errors were encountered: