code: func (dal *DjangoAdminLog) Insert(db XODB) error {
  	var err error
  
  	// if already exist, bail
  	if dal._exists {
  		return errors.New("insert failed: already exists")
  	}
  
  	// sql query
  	const sqlstr = `INSERT INTO django.django_admin_log (` +
  		`action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id` +
  		`) VALUES (` +
  		`:1, :2, :3, :4, :5, :6, :7` +
  		`) RETURNING id /*lastInsertId*/ INTO :pk`
  
  	// run query
  	XOLog(sqlstr, dal.ActionTime, dal.ObjectID, dal.ObjectRepr, dal.ActionFlag, dal.ChangeMessage, dal.ContentTypeID, dal.UserID, nil)
  	res, err := db.Exec(sqlstr, dal.ActionTime, dal.ObjectID, dal.ObjectRepr, dal.ActionFlag, dal.ChangeMessage, dal.ContentTypeID, dal.UserID, nil)
  	if err != nil {
  		return err
  	}
  
  	// retrieve id
  	id, err := res.LastInsertId()
  	if err != nil {
  		return err
  	}
  
  	// set primary key and existence
  	dal.ID = float64(id)
  	dal._exists = true
  
  	return nil
  }
docs: // Insert inserts the DjangoAdminLog to the database.