1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

Help getting faction_id from this query

Discussion in 'Census: Planetside 2' started by Merli0n, Jan 9, 2014.

  1. Merli0n

    Merli0n Guest

  2. airmetforums

    airmetforums Guest

    The c:join command takes a "on" value which you correctly set to "attacker_player_guid". The c:join also has a "to" value which is the foreign key column name. "to" defaults to the value of "on". Since the character record doesn't have a column called "attacker_player_guid" and the correct column is "character_id" you should add "^to:character_id" to the join. I also added "inject_at:attacker" just to make the result a little prettier. Here is the final query with the attackers faction_id:

    http://census.daybreakgames.com/json/get/ps2:...aracter_id^show:faction_id^inject_at:attacker
     
  3. Merli0n

    Merli0n Guest

    Awesome, thank you so much :)
     

Share This Page