CreateTable<T>(CreateFlags createFlags = CreateFlags.None,string tableName=null)
Hi every one I'd like to suggest another optional parameter of table name to be able to assign it progrmaticaly specially when it is connected to another table column value. I've seen more cases like that. Track of changes will be:
- CreateTable<T>(CreateFlags createFlags = CreateFlags.None,string tableName=null)
- CreateTable(Type ty, CreateFlags createFlags = CreateFlags.None,string tableName = null)
- GetMapping(Type type, CreateFlags createFlags = CreateFlags.None,string tableName = null)
- TableMapping(Type type, CreateFlags createFlags = CreateFlags.None,string tableName=null)
Thanks
It's a bit tricky since a bunch of functions rely on being able to call GetMapping reliably.
Can you give an example where this feature is needed?
In a stock market scenario, we would save the symbol name and data. Symbol name is repetitive and consume space on each entry. Also for a very large file (15gb+) operations seems to slow down. In this scenario, we can create same schema table with different symbol name. Hence, we don't need to save symbol name anymore and each symbol data is stored on different table but with same schema. Saves resource on disk and queries become faster. Yes, it's possible to create separate file for each symbol.