#readwise # Collections - LiteDB :: A .NET Embedded NoSQL Database ![rw-book-cover](https://readwise-assets.s3.amazonaws.com/static/images/article2.74d541386bbf.png) ## Metadata - Author: [[litedb.org]] - Full Title: Collections - LiteDB :: A .NET Embedded NoSQL Database - URL: http://www.litedb.org/docs/collections/ ## Highlights - The total size of all the collections names in a database is limited to 8000 bytes. If you plan to have many collections in your database, make sure to use short names for your collections. For example, if collection names are about 10 bytes in length, you can have ~800 collection in the database. - Collections are auto created on first Insert or EnsureIndex operation. Running a query, delete or update on a document in a non existing collection does not create one. `LiteCollection<T>` is a generic class that can be used with `<T>` as `BsonDocument` for schema-less documents. Internally LiteDB converts `T` to `BsonDocument` and all operations use the this generic document.