Open nhuebnereagle opened 7 years ago
My understanding of the problem is that the library doesn't supported nested arrays in toSearchableArray
returns.
I haven't had capacity to look at resolving this, but have encountered this several times while working with this library.
I have the same problem. @countnoobula right. Nested array (model property is array).
First - Thank you for making a PostgreSql extension for Scout! I was able to resolve the issue, but still reporting it in case it's something in Scout or the driver. If I need to bring this over to Scout, let me know and I can do that.
The following code in my model was causing a PostgreSql error. This code automatically loads my relationships when I pull back a record:
Model Relationships Causing Error
Here's the error I would get when attempting a Scout Import using the Command Line command:
PostgreSql Error
After commenting out the above code from my model I was able to import successfully:
Success