-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hello
Do the aggregation functions work for you?
I'm using esp32-idf-sqlite3 library on SenseCAP Indicator D1 and I have a problem with aggregate functions. Normal select works without problem but select with avg, sum does not work. The query is correct because I checked on the PC version of sqlite. The program does not report an error, just the database does not return anything.
I use callback function and it is a code that returns nothing:
if (!sqlite3_open(DB_PATH, &db11))
{
int rc = sqlite3_exec(db11, query_buf1,
callback_woda_plot, (void*)data1, &zErrMsg);
sqlite3_close(db11);
}
Have you got any idea what is wrong?
Greetings
Maciek
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels