Definition at line 21 of file SqlStringExtensions.cs.
static bool Deveel.Data.Sql.Objects.SqlStringExtensions.IsWildCard |
( |
char |
ch | ) |
|
|
inlinestaticprivate |
static SqlBoolean Deveel.Data.Sql.Objects.SqlStringExtensions.PatternMatch |
( |
this ISqlString |
pattern, |
|
|
string |
expression, |
|
|
char |
escapeChar |
|
) |
| |
|
inlinestatic |
static SqlString Deveel.Data.Sql.Objects.SqlStringExtensions.Substring |
( |
this ISqlString |
source, |
|
|
int |
offset |
|
) |
| |
|
inlinestatic |
Definition at line 34 of file SqlStringExtensions.cs.
35 return Substring(source, offset, (
int)source.Length - offset);
static SqlString Substring(this ISqlString source, int offset)
static SqlString Deveel.Data.Sql.Objects.SqlStringExtensions.Substring |
( |
this ISqlString |
source, |
|
|
int |
offset, |
|
|
int |
count |
|
) |
| |
|
inlinestatic |
Definition at line 38 of file SqlStringExtensions.cs.
39 if (source == null || source.IsNull)
42 var en = source.GetEnumerator();
43 var sb =
new StringBuilder(count);
46 while (en.MoveNext()) {
50 sb.Append(en.Current);
52 if (index == count - 1)
57 var s = sb.ToString();
60 var chars =
new char[count];
61 sb.CopyTo(0, chars, 0, count);
Deveel.Data.Sql.Objects.SqlString SqlString
const char Deveel.Data.Sql.Objects.SqlStringExtensions.OneChar = '_' |
|
private |
const char Deveel.Data.Sql.Objects.SqlStringExtensions.ZeroOrMoreChars = '%' |
|
private |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Objects/SqlStringExtensions.cs