OmniSciDB  04ee39c94c
DatabasePrivileges Struct Reference

#include <DBObject.h>

+ Collaboration diagram for DatabasePrivileges:

Static Public Attributes

static const int32_t ALL = -1
 
static const int32_t CREATE_DATABASE = 1 << 0
 
static const int32_t DROP_DATABASE = 1 << 1
 
static const int32_t VIEW_SQL_EDITOR = 1 << 2
 
static const int32_t ACCESS = 1 << 3
 

Detailed Description

Definition at line 77 of file DBObject.h.

Member Data Documentation

◆ ACCESS

const int32_t DatabasePrivileges::ACCESS = 1 << 3
static

Definition at line 82 of file DBObject.h.

Referenced by MapDHandler::has_database_permission(), and serialize_db_object().

◆ ALL

const int32_t DatabasePrivileges::ALL = -1
static

◆ CREATE_DATABASE

const int32_t DatabasePrivileges::CREATE_DATABASE = 1 << 0
static

◆ DROP_DATABASE

const int32_t DatabasePrivileges::DROP_DATABASE = 1 << 1
static

◆ VIEW_SQL_EDITOR

const int32_t DatabasePrivileges::VIEW_SQL_EDITOR = 1 << 2
static

Definition at line 81 of file DBObject.h.

Referenced by MapDHandler::has_database_permission(), and serialize_db_object().


The documentation for this struct was generated from the following file: