This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
neos [2015/10/03 21:44] – admin | neos [2019/02/14 12:18] (current) – [Use sqlite] admin | ||
---|---|---|---|
Line 50: | Line 50: | ||
=== Inline Image URI === | === Inline Image URI === | ||
+ | < | ||
{media: | {media: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Use sqlite ==== | ||
+ | |||
+ | Set path to database '' | ||
+ | |||
+ | <code yaml> | ||
+ | Neos: | ||
+ | Flow: | ||
+ | persistence: | ||
+ | # For a reference of the possible options, take a look at | ||
+ | # https:// | ||
+ | backendOptions: | ||
+ | driver: ' | ||
+ | url: ' | ||
+ | </ | ||
+ | |||
+ | Make sure you create the database with this command: | ||
+ | |||
+ | <code bash> | ||
+ | ./flow doctrine: | ||
+ | </ | ||
+ | |||
+ | ===== Sample map properties ===== | ||
+ | |||
+ | <code php> | ||
+ | /** | ||
+ | * Convert array to Company Model | ||
+ | */ | ||
+ | $companies = []; | ||
+ | foreach ($csv-> | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | /** | ||
+ | * Save all companies | ||
+ | */ | ||
+ | foreach ($companies as $company) { | ||
+ | $company = $this-> | ||
+ | $this-> | ||
+ | } | ||
+ | |||
+ | </ | ||