Nette\Database\Context::getStructure PHP Method

getStructure() public method

public getStructure ( ) : Nette\Database\IStructure
return Nette\Database\IStructure
    public function getStructure()
    {
        return $this->structure;
    }

Usage Example

Example #1
0
 /**
  * @return string
  */
 public function getPrimarySequence()
 {
     if ($this->primarySequence === FALSE) {
         $this->primarySequence = $this->context->getStructure()->getPrimaryKeySequence($this->name);
     }
     return $this->primarySequence;
 }
All Usage Examples Of Nette\Database\Context::getStructure