【问题标题】:Fitnesse field not present in DB数据库中不存在 Fitnesse 字段
【发布时间】:2016-07-19 20:24:56
【问题描述】:
| script | Db Slim Select Query | select cust_name from customer where cust_id = 70903 |
| check | data; | cust_name | 0 | JAMES SMITH |

上面那个有效,下面那个无效。

|Query:Db Slim Select Query | select cust_id, cust_name from customer where cust_id = 70903 |
| cust_id | cust_name |
| 70903   | JAMES SMITH |

我收到的消息是

Query:Db Slim Select Query  select cust_id, cust_name from customer where cust_id = 70903
cust_id                     cust_name
[70903] missing             JAMES SMITH
field cust_id not present   field cust_name not present

我是否遗漏了什么?根据markfink的例子,这不应该失败。

【问题讨论】:

    标签: fitnesse fitnesse-slim dbfit


    【解决方案1】:

    尝试使用简单的查询表:

    | query   | select cust_id, cust_name from customer where cust_id = 70903 |
    | cust_id | cust_name   |
    | 70903   | JAMES SMITH |
    

    如果这没有帮助,请尝试遵循此页面上的查询示例:https://dbfit.github.io/dbfit/docs/reference.html#query

    【讨论】:

    • 我们没有使用查询,我们使用的是 db slim。他们有区别。以上我已经知道了,简单的google搜索就可以得到一堆查询示例......
    • 好的,那么您的问题标签具有误导性。
    猜你喜欢
    • 1970-01-01
    • 2011-07-17
    • 2021-09-05
    • 2014-05-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多