Skip to content

Refactor SQL encoder #232

@si3nloong

Description

@si3nloong

Currently, the native driver.Valuer doesn't support statement like CURRENT_TIMESTAMP or UUID() on INSERT, UPDATE and DELETE.

The priority of encoding :

  1. reflect.TypeOf (actual data type)
  2. db.SqlValuer
  3. driver.Valuer
  4. reflect.Kind

But reflect.TypeOf will affected pointer data type.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions