Skip to content

.ForXxx doesn't work with From() #239

@asherber

Description

@asherber

If I want, for example, to use a different table name in different databases:

var query = new Query()
    .Select("Id", "Title")
    .ForPostgreSql(q => q.From("Foo"))
    .ForSqlServer(q => q.From("Bar"));

This will produce FROM Foo (with proper escaping) regardless of which compiler I use -- even if I use a compiler other than Postgres or SQL Server.

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