I made a few updates, I’ve come up with this:
UCLASS()
class UMySQLRow : public UObject
{
GENERATED_BODY()
public:
TMap<FString, FString> rowData;
};
UFUNCTION(BlueprintPure, meta = (DisplayName = "Get Result Data", DataTablePin = "CurveTable"), Category = Database)
static void getResultData(UMySQLRow* row, FString colName, FString &data);
however the engine crashes when I try to run the game(without running the function at all), I think having UObject as parent class is the problem, but I am not sure how to proceed here, any tips would be great.