Open Drummic opened 5 days ago
Thanks @Drummic for raising this issue.
With the command cds add data
you add the needed files including the header line. So the csv files you copy are to be added and should not replace the existing content in those csv files. Can you try this and let me know if it works for you?
Best René
Tutorials: https://developers.sap.com/tutorials/cp-apm-nodejs-create-service.html
Hello, in the example for the csv files there are the headers missing. The import into SQLite fails. db/data/my-bookshop-Authors.csv should look like:
ID,name 101,Emily Brontë 107,Charlotte Brontë 150,Edgar Allen Poe 170,Richard Carpenter
and db/data/my-bookshop-Books.csv should look like:
ID,title,author_ID,stock 201,Wuthering Heights,101,12 207,Jane Eyre,107,11 251,The Raven,150,333 252,Eleonora,150,555 271,Catweazle,170,22