<commit_before><?php
/* This class is part of the XP framework
 *
 * $Id: xp5.php.xsl 10645 2007-06-21 12:41:53Z ruben $
 */
 
  uses('rdbms.DataSet', 'util.HashmapIterator');

  /**
   * Class wrapper for table event_attendee, database uska
   * (Auto-generated on Sat, 23 Jun 2007 16:52:12 +0200 by Alex)
   *
   * @purpose  Datasource accessor
   */
  class Event_attendee extends DataSet {
    public
      $event_id           = 0,
      $player_id          = 0,
      $offers_seats       = 0,
      $needs_driver       = 0,
      $lastchange         = NULL,
      $changedby          = '',
      $attend             = 0;
  
    protected
      $cache= array(
        'Event' => array(),
        'Player' => array(),
      );

    static function __static() { 
      with ($peer= self::getPeer()); {
        $peer->setTable('uska.event_attendee');
        $peer->setConnection('uska');
        $peer->setPrimary(array(''));
        $peer->setTypes(array(
          'event_id'            => array('%d', FieldType::INT, FALSE),
          'player_id'           => array('%d', FieldType::INT, FALSE),
          'offers_seats'        => array('%d', FieldType::INT, FALSE),
          'needs_driver'        => array('%d', FieldType::INT, FALSE),
          'lastchange'          => array('%s', FieldType::DATETIME, FALSE),
          'changedby'           => array('%s', FieldType::VARCHAR, FALSE),
          'attend'              => array('%d', FieldType::INT, FALSE)
        ));
        $peer->setRelations(array(
          'Event' => array(
            'classname' => 'de.uska.db.Event',
            'key'       => array(
              'event_id' => 'event_id',
            ),
          ),
          'Player' => array(
            'classname' => 'de.uska.db.Player',
            'key'       => array(
              'player_id' => 'player_id',
            ),
          ),
        ));
      }<commit_msg>- fix primary key information (manually)<commit_after><?php
/* This class is part of the XP framework
 *
 * $Id: xp5.php.xsl 10645 2007-06-21 12:41:53Z ruben $
 */
 
  uses('rdbms.DataSet', 'util.HashmapIterator');

  /**
   * Class wrapper for table event_attendee, database uska
   * (Auto-generated on Sat, 23 Jun 2007 16:52:12 +0200 by Alex)
   *
   * @purpose  Datasource accessor
   */
  class Event_attendee extends DataSet {
    public
      $event_id           = 0,
      $player_id          = 0,
      $offers_seats       = 0,
      $needs_driver       = 0,
      $lastchange         = NULL,
      $changedby          = '',
      $attend             = 0;
  
    protected
      $cache= array(
        'Event' => array(),
        'Player' => array(),
      );

    static function __static() { 
      with ($peer= self::getPeer()); {
        $peer->setTable('uska.event_attendee');
        $peer->setConnection('uska');
        $peer->setPrimary(array('event_id', 'player_id'));
        $peer->setTypes(array(
          'event_id'            => array('%d', FieldType::INT, FALSE),
          'player_id'           => array('%d', FieldType::INT, FALSE),
          'offers_seats'        => array('%d', FieldType::INT, FALSE),
          'needs_driver'        => array('%d', FieldType::INT, FALSE),
          'lastchange'          => array('%s', FieldType::DATETIME, FALSE),
          'changedby'           => array('%s', FieldType::VARCHAR, FALSE),
          'attend'              => array('%d', FieldType::INT, FALSE)
        ));
        $peer->setRelations(array(
          'Event' => array(
            'classname' => 'de.uska.db.Event',
            'key'       => array(
              'event_id' => 'event_id',
            ),
          ),
          'Player' => array(
            'classname' => 'de.uska.db.Player',
            'key'       => array(
              'player_id' => 'player_id',
            ),
          ),
        ));
      }
{'fraction_non_alphanumeric': 0.16112266112266113, 'fraction_numerical': 0.02130977130977131, 'mean_word_length': 1.6655124653739612, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4906243', 'n_tokens_mistral': 1271, 'n_tokens_neox': 1185, 'n_words': 240}