How to get the number of rows of the selected result from sqlite3?

前端 未结 8 505
情话喂你
情话喂你 2020-12-01 12:00

I want to get the number of selected rows as well as the selected data. At the present I have to use two sql statements:

one is

select * from XXX w         


        
8条回答
  •  天命终不由人
    2020-12-01 12:41

    Once you already have the select * from XXX results, you can just find the array length in your program right?

提交回复
热议问题