MCPcopy Create free account
hub / github.com/acl-dev/acl / tbl_create

Function tbl_create

lib_acl_cpp/samples/db_service/db_service.cpp:68–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66")";
67
68static bool tbl_create(acl::db_handle& db)
69{
70 if (db.tbl_exists("group_tbl"))
71 return (true);
72 if (db.sql_update(CREATE_TBL) == false)
73 {
74 printf("sql error\r\n");
75 return (false);
76 }
77 else
78 {
79 printf("create table ok\r\n");
80 return (true);
81 }
82}
83
84static bool create_db(void)
85{

Callers 1

create_dbFunction · 0.70

Calls 2

tbl_existsMethod · 0.45
sql_updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…