Project

General

Profile

« Previous | Next » 

Revision 6437

schemas/functions.sql, vegbien.sql: _and(), _or(): Added comment comparing the function and the corresponding logical operator

View differences:

vegbien.sql
527 527

  
528 528

  
529 529
--
530
-- Name: FUNCTION _or("0" boolean, "1" boolean, "2" boolean, "3" boolean, "4" boolean); Type: COMMENT; Schema: public; Owner: -
531
--
532

  
533
COMMENT ON FUNCTION _or("0" boolean, "1" boolean, "2" boolean, "3" boolean, "4" boolean) IS '_or() ignores NULL values, while OR combines them with the other values to potentially convert false to NULL. OR should be used with required fields, and _or() with optional fields.';
534

  
535

  
536
--
530 537
-- Name: _percent_to_fraction(double precision); Type: FUNCTION; Schema: public; Owner: -
531 538
--
532 539

  

Also available in: Unified diff