Re:Tracking SQLite Database Changes in Git
by smilingemoji on Thursday November 02, 2023 @09:30AM
(#38113258)
Seems a bit over the top when you could also just provide it as a command line argument to sqlite3 which is much more obvious than <<< and works in every shell.
[ Parent
| on HN ]
Re:Tracking SQLite Database Changes in Git
by chrismorgan on Thursday November 02, 2023 @12:02PM
(#38115503)
Review what’s going on. Git gives the file name as the last argument, so you can’t pass .dump as the last argument like that without the contortion of an immediately-invoked function.