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

Using multiple query operators on the same field

Discussion in 'Census: Planetside 2' started by CupBoy, May 12, 2013.

  1. CupBoy

    CupBoy Guest

    I'm having some problems using the <,>,[,] operators. I would expect that a query such as:

    http://census.daybreakgames.com/json/count/ps2-beta/character/?experience.rank=<10&experience.rank=>8

    would return the number of characters with rank less than 10 and greater than 8, essentially the same as rank=9. However, it appears that the API interprets it as an OR and not an AND. Is this the correct behaviour?

    The documentation state that it should work as AND:

    Am I missing something or is this bugged?
     
    Last edited by a moderator: Dec 13, 2016
  2. airmetforums

    airmetforums Guest

    I'm sorry. You can consider this a bug. We will look into what's going on. You may be able to achieve the query with: experience.rank=8&experience.rank=9&experience.rank=10
    Thanks
     
  3. Feldon

    Feldon Guest

  4. CupBoy

    CupBoy Guest

    Either of those two operator types appear to show that behavior.

    Ok. The example was just an example, it gets more complicated to find workarounds like that when selecting against e.g. timestamps.
     

Share This Page