• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jpacelli62 / Faaast / 9208093962

23 May 2024 12:36PM UTC coverage: 62.219% (-0.1%) from 62.332%
9208093962

push

github

Jérôme PACELLI
Add Quotes in Alias<T>

505 of 876 branches covered (57.65%)

Branch coverage included in aggregate %.

0 of 9 new or added lines in 3 files covered. (0.0%)

1 existing line in 1 file now uncovered.

1906 of 2999 relevant lines covered (63.55%)

17.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Faaast.Orm.QueryBuilder/QueryExtensions.cs
1
namespace Faaast.Orm
2
{
3
    public static partial class QueryExtensions
4
    {
5
        public static TableAlias<T> Alias<T>(this FaaastQueryDb db, string alias = null)
6
        {
×
7
            var mapping = db.Mapping<T>();
×
NEW
8
            return mapping != null ? new TableAlias<T>(mapping, alias, db.Quotes) : null;
×
9
        }
×
10

11
        public static SqlKata.Query Query<T>(this SqlKata.Query query, TableAlias<T> alias) => query.Select(alias.AllColumns).From(alias);
×
12

13
        public static string AsSqlLike(this string value) => string.Concat("%", value ?? string.Empty, "%");
×
14
    }
15
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc