#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ups/upscaledb.h>
#include <ups/upscaledb_uqi.h>
Go to the source code of this file.
This example demonstrates a few simple UQI queries.
Definition at line 29 of file uqi1.c.
Referenced by main().
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 39 of file uqi1.c.
References ups_record_t::data, ups_key_t::data, DATABASE_NAME, error(), UPS_AUTO_CLEANUP, ups_db_insert(), ups_env_close(), ups_env_create(), ups_env_create_db(), ups_make_record, UPS_PARAM_KEY_TYPE, UPS_PARAM_RECORD_TYPE, UPS_RECORD_NUMBER32, UPS_SUCCESS, UPS_TYPE_UINT32, uqi_result_close(), uqi_result_get_key(), uqi_result_get_record(), and uqi_select().