For a given table, set column updatecol to scalar updatevalue where column wherecol is in vector wherevector.
gpkg_update_table(
x,
table_name,
updatecol,
updatevalue,
wherecol = NULL,
wherevector = NULL,
query_string = FALSE
)A geopackage object, path to a GeoPackage or an SQLiteConnection.
character. Table name.
character. Column to update.
character, numeric, etc.; A scalar value to set.
character. Column used to constrain update.
character, numeric, etc.; Vector of values where update should be made.
logical. Return SQLite query rather than executing it? Default: FALSE
integer. Number of rows updated by executing UPDATE query. Or character SQL query string if query_string=TRUE.