Warning:
Fauna is decommissioning FQL v4 on June 30, 2025.

This driver is not compatible with FQL v10, the latest version. Fauna accounts created after August 21, 2024 must use FQL v10.
Ensure you migrate existing projects to the official v10 driver by the v4 EOL date: https://github.com/fauna/fauna-dotnet.

For more information, see the v4 end of life (EOL) announcement and related FAQ.

Fauna csharp driver  4.2.0
FaunaDB.Types.FaunaIgnoreAttribute Class Reference

Instruct the encoder to not encode the specified member. More...

Inheritance diagram for FaunaDB.Types.FaunaIgnoreAttribute:

Detailed Description

Instruct the encoder to not encode the specified member.

class User { [FaunaField("user_name")] public string UserName { get; set; }

[FaunaIgnore] public string Password { get; set; } }

var user = new User { UserName = "john", Password = "s3cr3t" };

var encoded = Encoder.Encode(user);

//encoded will be equivalent to:

ObjectV.With("user_name", "john")

Definition at line 142 of file Attributes.cs.


The documentation for this class was generated from the following file: