Skip to content

Tutorial: "OR: false if either false" #5105

Description

@chruck

Steps to reproduce

OR operator – combine two boolean expressions and return false if either expression evaluates to false.

Expected result

Following the OR operator link, it says:

The OR operator returns true only if any of the expressions is true. It returns false if both expressions are false. Otherwise, it returns null.

so it should say

OR operator – combine two boolean expressions and return false if *both* expressions evaluate to false.

for example

Actual result

An OR operator that behaves differently than "OR" in boolean logic and more like "AND".

Environment

Web

Logs, links

  • file: content/postgresql/tutorial.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions