I wonder if there is an easy way to see the SQL generated by the SQLiteQueryBuilder class in Android? I want to use this for debugging purposes.
I looked around and searched but couldn’t find anything. Either it’s not easy or it’s super obvious.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What it basically does is calling the
SQLiteQueryBuilder#buildQueryStringstatic method, so you can try to call that method passing the correct parameters. This is how the method looks like: