mbdavid / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.52k stars 1.24k forks source link

Lite DB V4 to V5 Upgrade Documentation #1729

Closed Niku1985 closed 2 years ago

Niku1985 commented 4 years ago

Please share the documentation on Lite DB V4 to V5.

lbnascimento commented 4 years ago

@Niku1985 Do you mean documentation on upgrading a LiteDB v4 datafile to v5? There's not much to it, all you need to do is set Upgrade to true in the connection string and the datafile should be upgraded automatically. For more info, check out our Connection String documentation.

JelleDamen commented 4 years ago

Is it correct that utc=true is not needed anymore in V5. Because it is UTC by default now ?

lbnascimento commented 4 years ago

@JelleDamen The UTC configuration is no longer done in the connection string, it is now a pragma. You can change with db.UtcDate = true;. The default value is still false though.

Niku1985 commented 2 years ago

Thanks a lot for your email

Thanks Nithyakumar

On Wed, Dec 22, 2021 at 3:25 PM Cassiano Sombrio @.***> wrote:

Closed #1729 https://github.com/mbdavid/LiteDB/issues/1729.

— Reply to this email directly, view it on GitHub https://github.com/mbdavid/LiteDB/issues/1729#event-5806671672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQCFQ2LRXWQA33Z6OAU6E2TUSIX3VANCNFSM4OHKPQEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>