ThomasJaspers/robotframework-dblibrary — Issue #12: Execute Sql extend method to return all values as table
Author: IlfirinPL
Created: 2012-02-22 12:08:22+00:00
State: open

It would be nice to have option to easy read all return values return as table, additionally if possible return only columns names

@{results} Execute Sql sqlString showColumns
Showcolumns optional argument default set to false

Keyword Lists Should Be Equal , can as additional argument add names.
So test could easily get something like

@{column_name}= Execute SQL	Select * from dual; true

@{results_before}= Execute SQL	Select * from dual;

@{results_after}= Execute SQL	Select * from dual;

Lists Should Be Equal ${results_before} ${results_after} names=${column_name}