praeclarum / praeclarum/sqlite-net
Wrong table name in select query
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.5k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
I have an crash report in appcenter which says: SIGABRT: no such table: WatcedLecture but the corresponding class is called WatchedLecture and the query looks like this:
db.Table<WatchedLecture>().Where(w => w.CourseId == courseId).ToList();
Any ideas what could be causing sqlite-net-pcl to generate wrong table name in the query ?
sqlite-net-pcl version: 1.5.231
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the db.Table().Where(...).ToList() query with sqlite-net-pcl 1.5.231 and inspect how the WatchedLecture table name is generated. Done means identifying why WatcedLecture appears in the SQL and confirming the corrected table name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sqlite
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100