The Wayback Machine - https://web.archive.org/web/20210104085650/https://github.com/topics/mariadb
Skip to content
#

mariadb

Here are 1,728 public repositories matching this topic...

prisma
abonander
abonander commented Nov 16, 2020

In my experience, far and away the primary reason to use DatabaseError::downcast_ref() is to check the constraint name. It would be nice not to have to downcast, though:

https://github.com/launchbadge/sqlx/blob/master/sqlx-core/src/error.rs#L146

 pub trait DatabaseError: ... {
    // existing methods omitted

    /// Returns the name of the constraint that triggered the error, if
Powerz
Powerz commented Dec 7, 2020

Hi guys,

I have a small question regarding the way Linq2Db treats ambient transactions (TransactionScope).

In the example (see below), if the first query runs before an instance of transaction scope is created, then the ambient transaction will be ignored. However, if the first query runs after the transaction scope is created, then the transaction will be respected.

This behavior looks m

Improve this page

Add a description, image, and links to the mariadb topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mariadb topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.