cPrimaryKey::AddField() - rstoetter/libsqlphp GitHub Wiki
Method AddField( )
public mixed rstoetter\libsqlphp\cPrimaryKey::AddField(string $fieldname, mixed|null $data)
- Namespace : rstoetter\libsqlphp
- Class name: cPrimaryKey
- This method is defined by rstoetter\libsqlphp\cPrimaryKey
The method AddField( ) adds a field with the name $fieldname and an optional value to the primary key
Example:
Arguments
- $fieldname string - <p>is the name of the field to add</p>
- $data mixed|null - <p>is the value of the field to add. Defaults to null.</p>