Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch whole Table #291

Open
bh2302 opened this issue Feb 2, 2024 · 1 comment
Open

Fetch whole Table #291

bh2302 opened this issue Feb 2, 2024 · 1 comment

Comments

@bh2302
Copy link

bh2302 commented Feb 2, 2024

Hello!
Is there actually a way to simply insert the Excel file strictly without specifying a header?
Unfortunately, .Fetch() without information doesn't work.
I've tried around a bit and haven't found any solution.
It would be ideal to be able to specify column 1-n and all data will be read in, regardless of whether it is empty or not!

Is this possible in any way?

I have the problem that my data / objects span several lines... I have to add my own algorithm for this afterwards...
Best regards, Alex

@mganss
Copy link
Owner

mganss commented Feb 2, 2024

I'm not sure I understand your use case. If your Excel file doesn't have header rows you can also map via column indexes, see https://github.com/mganss/ExcelMapper?tab=readme-ov-file#map-to-column-indexes

Is that what you were looking for? Otherwise, can you show an example class and possibly attach a sample Excel file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants