0
回做一個數據庫查詢,返回多行...RobotFramework:獲取字符串值從SQL查詢
${visits_for_this_patient}= Select from Database
... Select to_char(visit_date, 'YYYY-MM-DD') from patient_visits where patient_id=${patient_id} order by visit_date
${list_of_visits_for_this_patient}= create list ${visits_for_this_patient}
Row Count Should Be Equal To X
... Select * from patient_visits where patient_id=${patient_id}
... ${expected_number_of_patients_for_this_visit}
... ${SPONSOR_NAME}
我怎麼能採取特定行的字符串值回不填充?即時得到像
(b'2017-03-03' ,)
當我嘗試$ {visits_for_this_patient [0]}