Difference between revisions of "Select"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
  
[[jq]] '.[] | [[select]](.color=="blue")' your_json_file.json
+
* <code>[[jq]] '.[] | [[select]](.color=="blue")' your_json_file.json</code>
select ([[SQL]])
+
*<code> select * from TABLE_NAME</code> ([[SQL]])

Revision as of 06:46, 15 April 2020

  • jq '.[] | select(.color=="blue")' your_json_file.json
  • select * from TABLE_NAME (SQL)

Advertising: