LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Variables
com::sun::star::sdb::BooleanComparisonMode Constant Group Reference

specifies different mode how boolean comparison predicates are to be generated by a SingleSelectQueryComposer. More...

Variables

const long EQUAL_INTEGER = 0
 denotes the default comparison More...
 
const long IS_LITERAL = 1
 requires to use IS boolean_literal for boolean comparison. More...
 
const long EQUAL_LITERAL = 2
 requires to use = boolean_literal for boolean comparison. More...
 
const long ACCESS_COMPAT = 3
 requires to use an Microsoft Access compatible syntax for boolean comparison. More...
 

Detailed Description

specifies different mode how boolean comparison predicates are to be generated by a SingleSelectQueryComposer.

Variable Documentation

const long ACCESS_COMPAT = 3

requires to use an Microsoft Access compatible syntax for boolean comparison.

const long EQUAL_INTEGER = 0

denotes the default comparison

Most databases support comparing boolean expressions or column values directly with integer values: column = 0 respectively column = 1.

const long EQUAL_LITERAL = 2

requires to use = boolean_literal for boolean comparison.

That is, the generated comparison predicates will be column = TRUE resp. column = FALSE.

const long IS_LITERAL = 1

requires to use IS boolean_literal for boolean comparison.

That is, the generated comparison predicates will be column IS TRUE resp. column IS FALSE.