Unify Framework Lib 1.6.0
datastore_internals.c File Reference
#include "datastore.h"
#include "datastore_internals.h"
#include "sl_log.h"
#include "sl_status.h"
#include <sqlite3.h>
#include <stddef.h>
#include <string.h>
#include <stdio.h>

Macros

#define LOG_TAG   "datastore_internal"
 

Functions

int datastore_exec_sql (const char *sql)
 Helper function to execute SQL statement and check for errors. More...
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "datastore_internal"

Function Documentation

◆ datastore_exec_sql()

int datastore_exec_sql ( const char *  sql)

Helper function to execute SQL statement and check for errors.

Parameters
sqlSQL-query to execute
Returns
int sqlite3 error code