QueryBuilder/Query.Select.cs
/// <summary>
/// Add a new "raw" select expression to the query.
/// </summary>
/// <returns></returns>
Add a new "raw" select expression to the query.
Add a new " raw " select expression to the query .
public Query SelectRaw(string expression, params object[] bindings)
        {
            Method = "select";
            AddComponent("select", new RawColumn
            {
                Expression = expression,
                Bindings = Helper.Flatten(bindings).ToArray()
            });
            return this;
        }
public Query SelectRaw ( string expression , params object [ ] bindings ) { Method = " " ; AddComponent ( " " , new RawColumn { Expression = expression , Bindings = Helper . Flatten ( bindings ) . ToArray ( ) } ) ; return this ; }
Add a new "raw" select expression to the query.
Add a new " raw " select expression to the query .
None
expression
string