on ‎2021 Jul 16 9:47 AM
Dear Experts,
reading CAP documentation about deploy providing-initial-data I noticed that csv files, could be located in three different folders: db/csv, db/data/, or db/src/csv
I have tryed with all of these, under the results:
db/csv -> OK
db/data -> OK
db/data/other_folder -> KO
db/src/csv -> KO
In documentation if I read db/data/ with symbol "/" I understand that I could add other underfolder. But it is not true. Is it an error?
Folder db/src/csv doesn't work despite documenation.
Below my release:
@sap/cds: 5.0.6
@sap/cds-compiler: 2.4.4
@sap/cds-dk: 4.0.7
@sap/cds-foss: 2.3.1
@sap/cds-runtime: 3.0.9
Node.js: v14.16.0<br>
Thank you in advance.
Best
Alice
Request clarification before answering.
I see, you are confused by the trailing / in the documentation. However, trailing slashes do usually not indicated sub folders (recursively even). Normally, this would be indicated by ** globs or so.
But yes, we will remove the /
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.