PostgreSQL 12.17 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. This example uses ROWS FROM: SELECT * FROM ROWS FROM ( json_to_recordset('[{"a":40 not XQuery. • XQuery's x (ignore whitespace in pattern) flag is noticeably different from POSIX's expand- ed-mode flag. POSIX's x flag also allows # to begin a comment in the pattern, and POSIX will not unnest(tsvec- tor, OUT lex- eme text, OUT posi- tions small- int[], OUT weights text) setof record expand a tsvec- tor to a set of rows unnest('fat:2,4 cat:3 rat:5A'::tsvec- tor) (cat,{3}, {D}) ... Note0 码力 | 2786 页 | 12.72 MB | 1 年前3
PostgreSQL 10.23 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. This example uses ROWS FROM: SELECT * FROM ROWS FROM ( json_to_recordset('[{"a":40 unnest(tsvec- tor, OUT lex- eme text, OUT posi- tions small- int[], OUT weights text) setof record expand a tsvec- tor to a set of rows unnest('fat:2,4 cat:3 rat:5A'::tsvec- tor) (cat,{3}, {D}) ... Note setof anyele- ment expand an array to a set of rows unnest(AR- RAY[1,2]) 1 2 (2 rows) unnest(an- yarray, an- yarray [, ...]) setof anyele- ment, anyele- ment [, ...] expand multiple ar- rays (possibly0 码力 | 2727 页 | 11.93 MB | 1 年前3
PostgreSQL 10.23 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. This example uses ROWS FROM: SELECT * FROM ROWS FROM ( json_to_recordset('[{"a":40 unnest(tsvec- tor, OUT lex- eme text, OUT posi- tions small- int[], OUT weights text) setof record expand a tsvec- tor to a set of rows unnest('fat:2,4 cat:3 rat:5A'::tsvec- tor) (cat,{3}, {D}) ... Note setof anyele- ment expand an array to a set of rows unnest(AR- RAY[1,2]) 1 2 (2 rows) unnest(an- yarray, an- yarray [, ...]) setof anyele- ment, anyele- ment [, ...] expand multiple arrays (possibly0 码力 | 2590 页 | 12.03 MB | 1 年前3
PostgreSQL 11.22 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. This example uses ROWS FROM: SELECT * FROM ROWS FROM ( json_to_recordset('[{"a":40 ger_colum- n(tsvcol, configcol, title, body) unnest(tsvec- tor, OUT lex- eme text, setof record expand a tsvec- tor to a set of rows unnest('fat:2,4 cat:3 rat:5A'::tsvec- tor) (cat,{3}, {D}) ... 275 setof anyele- ment expand an array to a set of rows unnest(AR- RAY[1,2]) 1 2 (2 rows) unnest(an- yarray, an- yarray [, ...]) setof anyele- ment, anyele- ment [, ...] expand multiple arrays (possibly0 码力 | 2732 页 | 12.44 MB | 1 年前3
PostgreSQL 13.13 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. This example uses ROWS FROM: SELECT * FROM ROWS FROM ( json_to_recordset('[{"a":40 not XQuery. • XQuery's x (ignore whitespace in pattern) flag is noticeably different from POSIX's expand- ed-mode flag. POSIX's x flag also allows # to begin a comment in the pattern, and POSIX will not rewrite rule. A collection of such rewrite rules can be a powerful search aid. For example, you can expand the search using synonyms (e.g., new york, big apple, nyc, gotham) or narrow the search to direct0 码力 | 2782 页 | 13.00 MB | 1 年前3
PostgreSQL 9.1.24 Documentation
column set must be specified in the calling query so that the parser knows, for example, what * should expand to. 7.2.2. The WHERE Clause The syntax of the WHERE Clause is WHERE search_condition where search_condition and Operators Function Return Type Description Example Result unnest(anyarray) setof anyelement expand an array to a set of rows unnest(ARRAY[1,2]) 1 2 (2 rows) In string_to_array, if the delimiter rewrite rule. A collection of such rewrite rules can be a powerful search aid. For example, you can expand the search using synonyms (e.g., new york, big apple, nyc, gotham) or narrow the search to direct0 码力 | 2667 页 | 6.57 MB | 1 年前3
PostgreSQL 9.1 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. 97 Chapter 7. Queries 7.2.2. The WHERE Clause The syntax of the WHERE Clause is WHERE search_condition string_to_array(’xx~^~yy~^~zz’, ’~^~’, ’yy’) {xx,NULL,zz} unnest(anyarray) setof anyelement expand an array to a set of rows unnest(ARRAY[1,2]) 1 2 (2 rows) In string_to_array, if the delimiter rewrite rule. A collection of such rewrite rules can be a powerful search aid. For example, you can expand the search using synonyms (e.g., new york, big apple, nyc, gotham) or narrow the search to direct0 码力 | 2836 页 | 6.62 MB | 1 年前3
PostgreSQL 14.10 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. This example uses ROWS FROM: SELECT * FROM ROWS FROM ( json_to_recordset('[{"a":40 rewrite rule. A collection of such rewrite rules can be a powerful search aid. For example, you can expand the search using synonyms (e.g., new york, big apple, nyc, gotham) or narrow the search to direct source query to ORDER BY some ordering key. Let's consider a real-life astronomical example. We'll expand query supernovae using table-driven rewriting rules: CREATE TABLE aliases (t tsquery primary key0 码力 | 3032 页 | 13.27 MB | 1 年前3
PostgreSQL 9.3.25 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. 7.2.1.5. LATERAL Subqueries Subqueries appearing in FROM can be preceded by the key word LATERAL string_to_array(’xx~^~yy~^~zz’, ’~^~’, ’yy’) {xx,NULL,zz} unnest(anyarray) setof anyelement expand an array to a set of rows unnest(ARRAY[1,2]) 1 2 (2 rows) In string_to_array, if the delimiter rewrite rule. A collection of such rewrite rules can be a powerful search aid. For example, you can expand the search using synonyms (e.g., new york, big apple, nyc, gotham) or narrow the search to direct0 码力 | 3002 页 | 7.47 MB | 1 年前3
PostgreSQL 14.10 Documentationcolumn set must be specified in the calling query so that the parser knows, for example, what * should expand to. This example uses ROWS FROM: SELECT * FROM ROWS FROM ( json_to_recordset('[{"a":40 not XQuery. • XQuery's x (ignore whitespace in pattern) flag is noticeably different from POSIX's expand- ed-mode flag. POSIX's x flag also allows # to begin a comment in the pattern, and POSIX will not rewrite rule. A collection of such rewrite rules can be a powerful search aid. For example, you can expand the search using synonyms (e.g., new york, big apple, nyc, gotham) or narrow the search to direct0 码力 | 2871 页 | 13.38 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













