GoMySQL icon indicating copy to clipboard operation
GoMySQL copied to clipboard

Date fields are not supported

Open milak opened this issue 14 years ago • 0 comments

Hi i am trying to use your API but it seems DATE fields are not supported. To fix this problem, i added in function :

func handleRow(p *packetRowData, c *Client, r *Result) (err os.Error) {

this piece of code :

// Date case FIELD_TYPE_DATE : field,_ = time.Parse("2006-01-02", string(p.row[i].([]byte)))

Thanx for your work

milak avatar Sep 22 '11 21:09 milak