code: func DjangoAdminLogByID(db XODB, id int) (*DjangoAdminLog, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT ` +
  		`id, object_id, object_repr, action_flag, change_message, content_type_id, user_id, action_time ` +
  		`FROM django_admin_log ` +
  		`WHERE id = ?`
  
  	// run query
  	XOLog(sqlstr, id)
  	dal := DjangoAdminLog{
  		_exists: true,
  	}
  
  	err = db.QueryRow(sqlstr, id).Scan(&dal.ID, &dal.ObjectID, &dal.ObjectRepr, &dal.ActionFlag, &dal.ChangeMessage, &dal.ContentTypeID, &dal.UserID, &dal.ActionTime)
  	if err != nil {
  		return nil, err
  	}
  
  	return &dal, nil
  }
docs: // DjangoAdminLogByID retrieves a row from 'django_admin_log' as a DjangoAdminLog.
  //
  // Generated from index 'django_admin_log_id_pkey'.