Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SQL and fetchone
#2
From the docs:
Quote:fetchone() - Fetches the next row of a query result set, returning a single sequence, or None when no more data is available.
how many records you expected to be returned? Is it possible that only one and you already fetch it on line 85?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
SQL and fetchone - by Scorpio - Feb-13-2019, 12:52 PM
RE: SQL and fetchone - by buran - Feb-13-2019, 01:37 PM
RE: SQL and fetchone - by Scorpio - Feb-13-2019, 04:54 PM
RE: SQL and fetchone - by buran - Feb-13-2019, 05:07 PM
RE: SQL and fetchone - by Scorpio - Feb-13-2019, 06:35 PM
RE: SQL and fetchone - by beebert69 - Oct-14-2020, 02:24 PM
RE: SQL and fetchone - by buran - Feb-13-2019, 06:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Convert SQLite Fetchone() Result to float for Math Extra 13 4,122 Aug-02-2022, 01:12 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020