Client-flags: Client flags

Description See Also Examples

Description

Use for the client.flag argument to dbConnect(), multiple flags can be combined with a bitwise or (see Logic). The flags are provided for completeness.

See Also

The flags argument at https://mariadb.com/kb/en/library/mysql_real_connect.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library(DBI)
library(RMariaDB)
con1 <- dbConnect(MariaDB(), client.flag = CLIENT_COMPRESS)
con2 <- dbConnect(
  MariaDB(),
  client.flag = CLIENT_COMPRESS | CLIENT_SECURE_CONNECTION
)

## End(Not run)

RMariaDB documentation built on May 7, 2018, 1:03 a.m.