How can I stop LiteDB from adding the _type column automatically to my table?

55 views Asked by At

I have a LiteDB database I'm looking to use for a project. I'm trying to understand how I can stop the LiteDB database from adding a _type column when I do not want it to. Any advice on how this is controlled would be much appreciated.

1

There are 1 answers

0
spsuk On BEST ANSWER

I figured this out, this was by using generic object type in the c# side rather than the custom type object. Using the custom object stops the _type column being added to the table.