set_col_required()

  • Parameter(s):
    • $col_names: Comma delimited one or more column names
  • Description:
    • Set one more more columns as required field during edit
  • Remark:
    • Use this function for any database table fields that are NOT NULL, or the INSERT will fail.
  • Example:
1
$dg -> set_col_required("phone, email");

🎉 Querro.io is now open source! – Self-hosted AI text-to-SQL database query • Free forever

X