摘要:
* now() (返回当前系统日期和时间) *curdate() (返回当前系统日期不包括时间) *curtime() 只返回时间 *year() 返回年 month() 返回月 day() 返回天 select year("1998-9-8") 1998 select month("1998-9- 阅读全文
摘要:
*round(四舍五入) select round(1.34) 1 select round(1.9) 2 select round(1.234,2) 1.23 select round(1.457,2) 1.46 *ceil(向上取整) select ceil(1.34) 2 select cei 阅读全文
摘要:
*单行函数 *length(获取字节个数) select length("join") 返回4 *concat(拼接) select concat("firstname","_","last_name"); firstname_last_name *upper(将所有字母变大写) select up 阅读全文
摘要:
ele=driver.find_elements_by_xpath("//img[@src='/Public/Home/Default/images/shanchu.png']")[0] #获取元素属性 print(ele.get_attribute("src")) #修改元素属性 driver.execute_script("arguments[0].setAttribute(argument... 阅读全文