cPrimaryKey::AddField() - rstoetter/libsqlphp GitHub Wiki

Method AddField( )

 public   mixed rstoetter\libsqlphp\cPrimaryKey::AddField(string $fieldname, mixed|null $data)

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>