code: func selectPendingAuthz(s dbOneSelector, q string, args ...interface{}) (*pendingauthzModel, error) {
  	var model pendingauthzModel
  	err := s.SelectOne(
  		&model,
  		"SELECT id, identifier, registrationID, status, expires, LockCol FROM pendingAuthorizations "+q,
  		args...,
  	)
  	return &model, err
  }
docs: // selectPendingAuthz selects all fields of one pending authorization model