我想添加如下哈希到MySQL列,我可以存儲紅寶石哈希在MySQL數據庫中列
{:sub => ["at","div.product-info"],
1 => [["at","span#hs18Price"]],
:avail => ["at","strong.out_stock"],
:soffer => ["at","div.freebie"],
:stime =>["search","div[@class='costs']//span[@class='days']"],
:scost => [300,30] }
我試過了,它拋出下面的錯誤,
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'costs...
任何幫幫我?
編輯:
忘記的活動記錄,系列化。我想在一個原始的SQL中執行它。
它的工作,先生! – beck03076 2013-03-22 10:25:26