src/Spiritix/LadaCache/Reflector.php
private function getCompileFunction()
    {
        switch (strtolower($this->sqlOperation)) {
            case self::QUERY_TYPE_INSERT:
                return 'compileInsert';
                break;

            case 'insertgetid':
                return 'compileInsertGetId';
                break;

            case self::QUERY_TYPE_UPDATE:
                return 'compileUpdate';
                break;

            case self::QUERY_TYPE_DELETE:
                return 'compileDelete';
                break;

            case self::QUERY_TYPE_TRUNCATE:
                return 'compileTruncate';
                break;

            default:
                return 'compileSelect';
                break;
        }
    }
private function getCompileFunction()
    {
        switch (strtolower($this->sqlOperation)) {
            case self::QUERY_TYPE_INSERT:
                return 'compileInsert';
                break;

            case 'insertgetid':
                return 'compileInsertGetId';
                break;

            case self::QUERY_TYPE_UPDATE:
                return 'compileUpdate';
                break;

            case self::QUERY_TYPE_DELETE:
                return 'compileDelete';
                break;

            case self::QUERY_TYPE_TRUNCATE:
                return 'compileTruncate';
                break;

            default:
                return 'compileSelect';
                break;
        }
    }
private function getCompileFunction ( ) { switch ( strtolower ( $ this -> sqlOperation ) ) { case self :: QUERY_TYPE_INSERT : return 'compileInsert' ; break ; case 'insertgetid' : return 'compileInsertGetId' ; break ; case self :: QUERY_TYPE_UPDATE : return 'compileUpdate' ; break ; case self :: QUERY_TYPE_DELETE : return 'compileDelete' ; break ; case self :: QUERY_TYPE_TRUNCATE : return 'compileTruncate' ; break ; default : return 'compileSelect' ; break ; } }
Get the Eloquent grammar compile function.

@return string
Get the Eloquent grammar compile function .