Skip to content

Sqlite InsertGetIdAsync returns 0  #522

@generik0

Description

@generik0

Hi, thanks for the great package.

in V2.3.7 unfortunately sqlite memory and InsertGetIdAsync when passing the DB connection does not return id.

image

var source = _builder.CreateNew<TestEntity>().Build();
            
            var query = new QueryFactory(GetSqliteDbConnection(), new SqliteCompiler());
            var result = await query.Query(typeof(TestEntity).Name).InsertGetIdAsync<int>(source, cancellationToken: CancellationToken.None);

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions