code: func (auup *AuthUserUserPermission) Delete(db XODB) error {
  	var err error
  
  	// if doesn't exist, bail
  	if !auup._exists {
  		return nil
  	}
  
  	// if deleted, bail
  	if auup._deleted {
  		return nil
  	}
  
  	// sql query
  	const sqlstr = `DELETE FROM public.auth_user_user_permissions WHERE id = $1`
  
  	// run query
  	XOLog(sqlstr, auup.ID)
  	_, err = db.Exec(sqlstr, auup.ID)
  	if err != nil {
  		return err
  	}
  
  	// set deleted
  	auup._deleted = true
  
  	return nil
  }
docs: // Delete deletes the AuthUserUserPermission from the database.