function insert( $table, $rows, $method = null ) {

        if ( empty( $rows ) ) return;
        if ( !isset( $rows[ 0 ] ) ) $rows = array( $rows );

        if ( $method === 'prepared' ) {

            return $this->insertPrepared( $table, $rows );

        } else if ( $method === 'batch' ) {

            return $this->insertBatch( $table, $rows );

        } else {

            return $this->insertDefault( $table, $rows );

        }

    }