def METHOD_NAME(
    self,
    nodes: List[BaseNode],
) -> List[str]:
    data = []
    ids = []
    for node in nodes:
        metadata = node_to_metadata_dict(
            node, remove_text=True, flat_metadata=self.flat_metadata
        )
        append_data = {
            "id": node.node_id,
            "doc_id": node.ref_doc_id,
            "vector": node.get_embedding(),
            "text": node.get_content(metadata_mode=MetadataMode.NONE),
        }
        append_data.update(metadata)
        data.append(append_data)
        ids.append(node.node_id)
    if self.table_name in self.connection.table_names():
        tbl = self.connection.open_table(self.table_name)
        tbl.METHOD_NAME(data)
    else:
        self.connection.create_table(self.table_name, data)
    return ids