Skip to content

Instantly share code, notes, and snippets.

@masterspambot
masterspambot / queryOperators.md
Last active October 20, 2015 03:24
Query params filtering operators
  1. Collections:
  • $all
    • return result if ALL of elements is CONTAINED in property COLLECTION

      FILTER: filter[members][$all]=[1,2]; SOURCE: [1,2]; RESULT: true
      FILTER: filter[members][$all]=[1,2]; SOURCE: [1,3]; RESULT: false
      FILTER: filter[members][$all]=[1,2]; SOURCE: [3,4]; RESULT: false 
      FILTER: filter[members][$all]=[1,2]; SOURCE: [1,3,4]; RESULT: false 
      FILTER: filter[members][$all]=[1,2]; SOURCE: [1,2,3,4]; RESULT: true 
      
@masterspambot
masterspambot / WebStorm64.exe.vmoptions
Last active August 29, 2015 14:15
Aggressive WebStorm settings for x64 configuration
-ea
-server
-Xms2g
-Xmx2g
-Xss16m
-XX:MaxPermSize=1400m
-XX:MetaspaceSize=512m
-XX:ReservedCodeCacheSize=450m