Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
FieldName.cs
Go to the documentation of this file.
1namespace Fauna.Mapping;
2
6public static class FieldName
7{
13 public static string Canonical(string name) =>
14 (string.IsNullOrEmpty(name) || char.IsLower(name[0])) ?
15 name :
16 string.Concat(name[0].ToString().ToLower(), name.AsSpan(1));
17}
@ FieldName
The token type is a Fauna property name.