Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to use complex data types and casts #118

Merged
merged 1 commit into from
Feb 4, 2024

Commits on Feb 2, 2024

  1. Add ability to use complex data types and casts

    Currently Sushi inserts rows straight into the database, which does not allow any "complex" data to be saved in rows, not even an array. Think of the use case 
    [ "county" => "SomeCounty", "postCodes"=>[111,222,333]]
    
    This change adds the ability to use $casts, which allows Eloquent to cast arrays and other data as necessary into/from a string for saving to the database.
    eta-orionis authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    b27ef2d View commit details
    Browse the repository at this point in the history