{"id":24956381,"url":"https://github.com/whjwnavy/sqllite_c_api","last_synced_at":"2026-05-19T06:02:12.856Z","repository":{"id":178270889,"uuid":"221185530","full_name":"WHJWNAVY/sqllite_c_api","owner":"WHJWNAVY","description":"sqllite c api","archived":false,"fork":false,"pushed_at":"2020-07-31T02:12:21.000Z","size":2910,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-21T09:55:25.679Z","etag":null,"topics":["sql","sqlite","sqlite-database","sqlite3"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WHJWNAVY.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-12T09:59:47.000Z","updated_at":"2023-03-10T12:04:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"18dfed9b-a789-450d-93f6-b37ea5a9536e","html_url":"https://github.com/WHJWNAVY/sqllite_c_api","commit_stats":null,"previous_names":["whjwnavy/sqllite_c_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WHJWNAVY/sqllite_c_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WHJWNAVY%2Fsqllite_c_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WHJWNAVY%2Fsqllite_c_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WHJWNAVY%2Fsqllite_c_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WHJWNAVY%2Fsqllite_c_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WHJWNAVY","download_url":"https://codeload.github.com/WHJWNAVY/sqllite_c_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WHJWNAVY%2Fsqllite_c_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33203999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sql","sqlite","sqlite-database","sqlite3"],"created_at":"2025-02-03T06:35:01.762Z","updated_at":"2026-05-19T06:02:12.841Z","avatar_url":"https://github.com/WHJWNAVY.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqllite_c_api\n\n## sql_count\n\n```c\n/*****************************************************************************\n Name        : sql_count\n Description : Get the number of entries in the specified table.\n Input       : sqlite3 *db            : sqlite context.\n               const char *tbl        : table name.\n Output      : NULL\n Return      : The number of entries in the specified table.\n*****************************************************************************/\nuint32_t sql_count(sqlite3 *db, const char *tbl);\n```\n\n## sql_test\n\n```c\n/*****************************************************************************\n Name        : sql_test\n Description : Determine if the specified entry exists in the table.\n Input       : sqlite3 *db            : sqlite context.\n               const char *tbl        : table name.\n               sql_keyval_t *pkey     : Primary key and value of this table.\n Output      : NULL\n Return      : Non-zero for Existence / Zero for Nonexistence\n*****************************************************************************/\nuint32_t sql_test(sqlite3 *db, const char *tbl, sql_keyval_t *pkey);\n```\n\n## sql_delete\n\n```c\n/*****************************************************************************\n Name        : sql_delete\n Description : Delete the specified entry in the table.\n Input       : sqlite3 *db            : sqlite context.\n               const char *tbl        : table name.\n               sql_keyval_t *pkey     : Primary key and value of this table.\n Output      : NULL\n Return      : Error code.\n*****************************************************************************/\nerror_t sql_delete(sqlite3 *db, const char *tbl, sql_keyval_t *pkey);\n```\n\n## sql_read\n\n```c\n/*****************************************************************************\n Name        : sql_read\n Description : Read the specified entry in the table.\n Input       : sqlite3 *db            : sqlite context.\n               const char *tbl        : table name.\n               sql_keyval_t *pkey     : Primary key and value of this table.\n               const char *etykey     : Specified field of table entry.\n Output      : char *outs             : Read output string\n Return      : Error code.\n*****************************************************************************/\nerror_t sql_read(sqlite3 *db, const char *tbl, sql_keyval_t *pkey,\n                 const char *etykey, char *outs);\n```\n\n## sql_readi\n\n```c\n/*****************************************************************************\n Name        : sql_readi\n Description : Read the specified entry line in the table.\n Input       : sqlite3 *db            : sqlite context.\n               const char *tbl        : table name.\n               homedb_keyval_t *pkey  : Primary key and value of this table.\n               const char *etykey     : Specified field of table entry.\n Output      : char *outs             : Read output string\n Return      : Error code.\n*****************************************************************************/\nerror_t sql_readi(sqlite3 *db, const char *tbl, uint32_t line,\n                  const char *etykey, char *outs);\n```\n\n## sql_update\n\n```c\n/*****************************************************************************\n Name        : sql_update\n Description : Update the specified entry in the table.\n Input       : sqlite3 *db            : sqlite context.\n               const char *tbl        : table name.\n               sql_keyval_t *pkey     : Primary key and value of this table.\n               sql_keyval_t *etytbl   : Field table that needs to be updated.\n               uint32_t etylen        : Field table length that needs to be updated. \nOutput      : NULL. \nReturn      : Error code.\n*****************************************************************************/\nerror_t sql_update(sqlite3 *db, const char *tbl, sql_keyval_t *pkey,\n                   sql_keyval_t *etytbl, uint32_t etylen);\n```\n\n## sql_insert\n\n```c\n/*****************************************************************************\n Name        : sql_insert\n Description : Insert entry to the specified table.\n Input       : sqlite3 *db            : sqlite context.\n               const char *tbl        : table name.\n               sql_keyval_t *etytbl   : Field table that needs to be insert.\n               uint32_t etylen        : Field table length that needs to be insert.\nOutput      : NULL. \nReturn      : Error code.\n*****************************************************************************/\nerror_t sql_insert(sqlite3 *db, const char *tbl, sql_keyval_t *etytbl,\n                   uint32_t etylen);\n```\n\n## sql_splout\n\n```c\n/*****************************************************************************\n Name        : sql_splout\n Description : Split the output of the SQL statement.\n Input       : char *sql_out          : Sql output.\n Output      : char out_tbl[tbl_hlen][tbl_vlen];\n Return      : Error code.\n*****************************************************************************/\nuint32_t sql_splout(void *out_tbl, uint32_t tbl_hlen, uint32_t tbl_vlen,\n                    char *sql_out);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhjwnavy%2Fsqllite_c_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhjwnavy%2Fsqllite_c_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhjwnavy%2Fsqllite_c_api/lists"}