Module ncache.client.enum.CommandType

Expand source code
from enum import Enum


class CommandType(Enum):
    """
    Specifies how a command string is interpreted.
    """
    TEXT = 1
    """
    An SQL text command. (Default.)
    """
    STORED_PROCEDURE = 4
    """
    The name of a stored procedure.
    """
    TABLE_DIRECT = 512
    """
    The name of a table.
    """

Classes

class CommandType (value, names=None, *, module=None, qualname=None, type=None, start=1)

Specifies how a command string is interpreted.

Expand source code
class CommandType(Enum):
    """
    Specifies how a command string is interpreted.
    """
    TEXT = 1
    """
    An SQL text command. (Default.)
    """
    STORED_PROCEDURE = 4
    """
    The name of a stored procedure.
    """
    TABLE_DIRECT = 512
    """
    The name of a table.
    """

Ancestors

  • enum.Enum

Class variables

var STORED_PROCEDURE

The name of a stored procedure.

var TABLE_DIRECT

The name of a table.

var TEXT

An SQL text command. (Default.)