Hi Jürgen, gama-local command line program can only read data from a given sqlite flat database but is not designed to write back to the database. Nevertheless, a part of the GNU gama project is a conversion tool gama-local-xml2sql that converts XML adjustment results of gama-local to SQL, so you can easily populate your database.
The more, there is a gama-q2 project which can write data directly to the database (an alpha version of Qt based GUI -- it is not limited to sqlite -- see a note at
https://www.gnu.org/software/gama/).