Revision 11659
Added by Aaron Marcuse-Kubitza about 11 years ago
util.sql | ||
---|---|---|
1196 | 1196 |
|
1197 | 1197 |
|
1198 | 1198 |
-- |
1199 |
-- Name: is_empty(anyarray); Type: FUNCTION; Schema: util; Owner: - |
|
1200 |
-- |
|
1201 |
|
|
1202 |
CREATE FUNCTION is_empty("array" anyarray) RETURNS boolean |
|
1203 |
LANGUAGE sql IMMUTABLE |
|
1204 |
AS $_$ |
|
1205 |
SELECT util.array_length($1) = 0 |
|
1206 |
$_$; |
|
1207 |
|
|
1208 |
|
|
1209 |
-- |
|
1199 | 1210 |
-- Name: is_more_complete_than(anyelement, anyelement); Type: FUNCTION; Schema: util; Owner: - |
1200 | 1211 |
-- |
1201 | 1212 |
|
Also available in: Unified diff
schemas/util.sql: added is_empty(anyarray)