:: com :: sun :: star :: sdb ::
|
unpublished |
constants group BooleanComparisonMode |
|
|
- Usage Restrictions
- not published
- Description
- specifies different mode how boolean comparison predicates are to be generated
by a SingleSelectQueryComposer.
|
Constants |
EQUAL_INTEGER |
denotes the default comparison
|
IS_LITERAL |
requires to use IS boolean_literal for boolean comparison.
|
EQUAL_LITERAL |
requires to use = boolean_literal for boolean comparison.
|
ACCESS_COMPAT |
requires to use an Microsoft Access compatible syntax for boolean comparison.
|
Constants' Details |
EQUAL_INTEGER
const long EQUAL_INTEGER = 0;
- Description
- denotes the default comparison
Most databases support comparing boolean expressions or column values directly with
integer values: column = 0 respectively column = 1 .
|
|
IS_LITERAL
const long IS_LITERAL = 1;
- Description
- requires to use
IS boolean_literal for boolean comparison.
That is, the generated comparison predicates will be column IS TRUE resp.
column IS FALSE .
|
|
EQUAL_LITERAL
const long EQUAL_LITERAL = 2;
- Description
- requires to use
= boolean_literal for boolean comparison.
That is, the generated comparison predicates will be column = TRUE resp.
column = FALSE .
|
|
ACCESS_COMPAT
const long ACCESS_COMPAT = 3;
- Description
- requires to use an Microsoft Access compatible syntax for boolean comparison.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.