public function SQL_column($schema) { return DB::SQL()::COLUMN($schema->getName(), $schema->getType(), $schema->getLength(), $schema->getDefault(), $schema->getPrimary(), $schema->getUnique(), $schema->getAutoIncrement(), $schema->getNull()); }
/** * Execute a reset query of the counter auto_increment * * @return object result of the query */ public function resetAutoIncrement() { return $this->query(DB::SQL()::RESET_AUTOINCREMENT($this->getBuilderTable())); }