diff options
Diffstat (limited to 'src/analysis/db/item.h')
-rw-r--r-- | src/analysis/db/item.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/analysis/db/item.h b/src/analysis/db/item.h index 2f8ee60..c70eefa 100644 --- a/src/analysis/db/item.h +++ b/src/analysis/db/item.h @@ -71,15 +71,11 @@ bool g_db_item_is_volatile(const GDbItem *); /* --------------------- MANIPULATIONS AVEC UNE BASE DE DONNEES --------------------- */ -/* Définition du tronc commun pour les créations SQLite */ -#define SQLITE_DB_ITEM_CREATE \ - "user TEXT, " \ - "created TIMESTAMP DEFAULT CURRENT_TIMESTAMP, " \ - "modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP, " - - /* Constitue les champs destinés à une insertion / modification. */ -bool g_db_item_prepare_db_statement(const GDbItem *, bool, bound_value **, size_t *); +bool g_db_item_prepare_db_statement(const GDbItem *, bound_value **, size_t *); + +/* Charge les valeurs utiles pour un élément de collection. */ +bool g_db_item_load(GDbItem *, const bound_value *, size_t); |