anchor.diff:  	return _<%= param_name_plural %>, nil
   }
   
  -// Last<%= @model_name %> find the last one <%= model_name_underscore %> by id DESC order
  +// Last<%= @model_name %> find the last one <%= model_name_underscore %> by ID DESC order
   func Last<%= @model_name %>() (*<%= @model_name %>, error) {
   	_<%= model_name_underscore %> := <%= @model_name %>{}
   	err := db.Get(&_<%= model_name_underscore %>, db.Rebind(`SELECT * FROM <%= table_name %> ORDER BY id DESC LIMIT 1`))
  
positive.code: }
  
  // Update<%= @model_name.pluralize %>BySql is used to update <%= @model_name %> records by a SQL clause
  // that use '?' binding syntax
  func Update<%= @model_name.pluralize %>BySql(sql string, args ...interface{}) (int64, error) {
  	if sql == "" {
  		return 0, errors.New("A blank SQL clause")
  
negative.code: 	return err
  }
  
  // Destroy<%= @model_name %> will destroy a <%= @model_name %> record specified by the id parameter.
  func Destroy<%= @model_name %>(id int64) error {
  	<%- if @struct_info[:has_assoc_dependent] -%>
  	// Destroy association objects at first
  