Accessing the Datastore kong.db The DAO Lua API You are browsing documentation for an older version. See the latest documentation here . Accessing the Datastore Kong inter...
Accessing the Datastore kong.db The DAO Lua API Accessing the Datastore Kong interacts with the model layer through classes we refer to as “DAOs”. This chapter will detail the...
代码生成 dao 使用 model 使用 代码生成 该模型通过GF 工具链的gf gen dao 命令生成,提供了强大灵活的数据表操作方式。生成的数据文件: 生成的文件介绍请参考 gen 代码生成 章节。 dao 使用 通过dao 包引用对应的对象即可,dao 往往是被service 代码层调用。 查找dao 中的User 对象:...
Plugin Development - Accessing the Datastore kong.db The DAO Lua API Plugin Development - Accessing the Datastore Kong interacts with the model layer through classes we refer ...