cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

APOC.load.csv mapping config regex suggestion

Hello there

While using a lot apoc.load.csv I think it would be really nice to add these config options among the table available in the Table 2. mapping config.

|regex|.*|Apply a simple whole match regex to the field|
|apply|None|Apply a function to the field| <- Using a regex function we won't need the first one anymore.

It would make the mapping options much more powerful and help to keep the consistency of the imports.

1 REPLY 1

Yes! Thanks for your post, I just had the exact same idea.

The ability to parse a mapping by applying a function would certainly make queries much cleaner and more re-usable.