Hi, I have a "expense_status" field in a collectio...
# community-help
p
Hi, I have a "expense_status" field in a collection. I'm using Laravel scout to connect with typesense but not sure how to use "options include_fields" so I can recieve that typesense column with the results (it's not a column thats on my model or in the database but created when inserting an item to typesense)
j
CC: @Fanis Tharropoulos
f
Hey there. Do you mean that you have a different schema in Typesense than the one in Eloquent? Scout's builder always maps the object to whatever Model class you've defined. Otherwise, you could use the
raw
function, and use that object to get all the fields and metadata (basically a typesense Response directly) and use that