[Koha-bugs] [Bug 24912] Generate sql from yaml installer files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 20 12:20:12 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24912

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 101079
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101079&action=edit
Bug 24912: Move to a flat array with all values to an array of arrayref

For the following SQL query:
INSERT INTO cities(city_name, city_country) VALUES ('Madrid', 'Spain'),
('Buenos Aires', 'Argentina');

We move from:
[ 'Madrid', 'Spain', 'Buenos Aires', 'Argentina' ]
to:
[ [ 'Madrid', 'Spain' ], [ 'Buenos Aires', 'Argentina' ] ]

Which make more sense to split, build and construct the queries

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list