public function generateChdb() {
        $this->extracted_at = new \DateTime();

        $this->log("Writing chdb file...");
        $this->log("File: " . $this->chdb_path);

        $success = chdb_create($this->chdb_path, $this->cache);

        if (!$success) {
            fprintf(STDERR, "Failed to create chdb file $this->chdb_path\n");
            return;
        }
    }
public function generateChdb() {
        $this->extracted_at = new \DateTime();

        $this->log("Writing chdb file...");
        $this->log("File: " . $this->chdb_path);

        $success = chdb_create($this->chdb_path, $this->cache);

        if (!$success) {
            fprintf(STDERR, "Failed to create chdb file $this->chdb_path\n");
            return;
        }
    }
public function generateChdb ( ) { $ this -> extracted_at = new \ DateTime ( ) ; $ this -> log ( "Writing chdb file..." ) ; $ this -> log ( "File: " . $ this -> chdb_path ) ; $ success = chdb_create ( $ this -> chdb_path , $ this -> cache ) ; if ( ! $ success ) { fprintf ( STDERR , "Failed to create chdb file $this->chdb_path\n" ) ; return ; } }
Generates chdb database
Generates chdb database