--- --- Generated by EmmyLua(https://github.com/EmmyLua) --- Created by . --- DateTime: 2025/9/25 08:19 --- 业务逻辑 local cjson = require('cjson') local pgmoon = require('pgmoon'); local _M = {} -- 创建一个新的连接 local conn = pgmoon.new(db_config.postgres) -- 连接到数据库 conn:connect(function(err) if err then print("Error connecting to database: ", err) else print("Connected to the PostgreSQL server.") end end) function _M.getAllUser() end return _M