Class SqlParameter
Represents a bind variable (parameter) for SQL execution.
Implements
Inherited Members
Namespace: Google.Apis.OracleDatabase.v1.Data
Assembly: Google.Apis.OracleDatabase.v1.dll
Syntax
public class SqlParameter : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Optional. The name of the SQL bind parameter (excluding the leading colon, e.g. "id"). If omitted, parameters bind positionally based on their order in the list.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TypeName
Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER", "DATE", "TIMESTAMP"). If omitted, the Oracle driver will infer the type from the value string.
Declaration
[JsonProperty("typeName")]
public virtual string TypeName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Required. Use protobuf.Value so clients can pass ints, bools, and strings natively.
Declaration
[JsonProperty("value")]
public virtual object Value { get; set; }
Property Value
| Type | Description |
|---|---|
| object |