Function json

  • Creates an object representing nested where conditions for postgres's json data-type.


    • conditionsOrPath: string | object

      A hash containing strings/numbers or other nested hash, a string using dot notation or a string using postgres json syntax.

    • Optional value: string | number | boolean

      An optional value to compare against. Produces a string of the form "<json path> = '<value>'".

    Returns Json

Generated using TypeDoc