/logger/luaapi/common.h

https://bitbucket.org/dushan01/fenix · C Header · 15 lines · 14 code · 1 blank · 0 comment · 0 complexity · 21342d3abf7964b044eca984eb6d923e MD5 · raw file

  1. #define LUAMONGO_ROOT "mongo"
  2. #define LUAMONGO_CONNECTION "mongo.Connection"
  3. #define LUAMONGO_CURSOR "mongo.Cursor"
  4. #define LUAMONGO_QUERY "mongo.Query"
  5. #define LUAMONGO_ERR_CONNECTION_FAILED "Connection failed: %s"
  6. #define LUAMONGO_ERR_QUERY_FAILED "Query failed: %s"
  7. #define LUAMONGO_ERR_INSERT_FAILED "Insert failed: %s"
  8. #define LUAMONGO_ERR_CONNECT_FAILED "Connection to %s failed: %s"
  9. #define LUAMONGO_ERR_COUNT_FAILED "Count failed: %s"
  10. #define LUAMONGO_ERR_REMOVE_FAILED "Remove failed: %s"
  11. #define LUAMONGO_ERR_UPDATE_FAILED "Update failed: %s"
  12. #define LUAMONGO_UNSUPPORTED_BSON_TYPE "Unsupported BSON type"
  13. #define LUAMONGO_UNSUPPORTED_LUA_TYPE "Unsupported Lua type `%s'"
  14. #define LUAMONGO_REQUIRES_JSON_OR_TABLE "JSON string or Lua table required"