简体   繁体   English

使用Ruby从TOAD for DB2获取数据库结果

[英]Fetch DB results from TOAD for DB2 using Ruby

如何使用Ruby / capybara从TOAD for DB2获取数据库结果

Are you asking about TOAD, the DB client app? 您是否在询问数据库客户端应用程序TOAD? If so, Capybara is not the tool you should use as it only works for web apps (browser or headless browser tests). 如果是这样,则Capybara不是您应使用的工具,因为它仅适用于Web应用程序(浏览器或无头浏览器测试)。 If you want to check the contents of a DB2 database using ruby then you could connect to it with ActiveRecord and run queries using that. 如果要使用ruby检查DB2数据库的内容,则可以使用ActiveRecord连接到该数据库并使用该数据库运行查询。 On the other hand if you want to automate TOAD's user interface using ruby/capybara then you're out of luck - that's not possible. 另一方面,如果您想使用ruby / capybara自动化TOAD的用户界面,那么您就不走运了-这是不可能的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM