You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applying deconstruct on c1 I expected to get all information within this struct in a tabular form. But somehow deconstruct cannot cope with the array within this struct. I'm getting the following results:
julia> fc =first(club_table)
Strapping.DeconstructedRow{Club}: (id =1, name ="chess club", members_id =1, members_firstname ="John", members_lastname ="Smith")
Only the first member of the club (John Smith) es retrieved. How can I get all the data within c1 in a tabular form in order to store it in a relational database?
The text was updated successfully, but these errors were encountered:
Actually, the other member is stored in the second row.
julia>using DataFrames
julia> club_table |> DataFrame
2×5 DataFrame
Row │ id name members_id members_firstname members_lastname
│ Int64 String Int64 String String
─────┼────────────────────────────────────────────────────────────────────
1 │ 1 chess club 1 John Smith
2 │ 1 chess club 2 Mary Miller
I've tried
Strapping.jl
on the following example:Applying
deconstruct
onc1
I expected to get all information within this struct in a tabular form. But somehowdeconstruct
cannot cope with the array within this struct. I'm getting the following results:Only the first member of the club (John Smith) es retrieved. How can I get all the data within
c1
in a tabular form in order to store it in a relational database?The text was updated successfully, but these errors were encountered: