Mardulu
Mardulu

Reputation: 91

SQLite: How to check if there is another row of data without moving cursor?

Is it possible to find out if there is another row of data available after a "select" query without moving the cursor by calling "sqlite3_step" again?

Upvotes: 0

Views: 78

Answers (1)

CL.
CL.

Reputation: 180182

SQLite computes the output rows dynamically, when needed.

So it is not possible to find out if you can get another row without actually trying to step to that row.

Upvotes: 1

Related Questions