+
+ lua_pushliteral(L, "escape");
+ lua_pushcfunction(L, lua_db_escape);
+ lua_rawset(L, -3);
+
+ lua_pushliteral(L, "close");
+ lua_pushcfunction(L, lua_db_close);
+ lua_rawset(L, -3);
+
+ lua_pushliteral(L, "select");
+ lua_pushcfunction(L, lua_db_select);
+ lua_rawset(L, -3);
+
+ lua_pushliteral(L, "query");
+ lua_pushcfunction(L, lua_db_query);
+ lua_rawset(L, -3);
+
+ lua_pushliteral(L, "active");
+ lua_pushcfunction(L, lua_db_active);
+ lua_rawset(L, -3);
+
+ lua_pushliteral(L, "prepare");
+ lua_pushcfunction(L, lua_db_prepare);
+ lua_rawset(L, -3);
+
+ lua_pushliteral(L, "prepared");
+ lua_pushcfunction(L, lua_db_prepared);
+ lua_rawset(L, -3);