EBookContacts.BookQuery.or
Description: Reference for EBookContacts.BookQuery.or

### Function

# EBookContacts BookQueryor

#### Declaration [src]

    EBookQuery*
    e_book_query_or (
      gint nqs,
      EBookQuery** qs,
      gboolean unref
    )

#### Description [src]

Creates a new `EBookQuery` which is the logical OR of the queries in #qs.

#### Parameters

`nqs`

  Type: `gint`

  The number of queries to OR.

`qs`

  Type: `EBookQuery`

  Pointer to an array of `EBookQuery` items.

  The data is owned by the caller of the function.

`unref`

  Type: `gboolean`

  If `TRUE`, the new query takes ownership of the existing queries.

#### Return value

Type: `EBookQuery`

A new `EBookQuery`.

The caller of the function takes ownership of the data, and is responsible for freeing it.