📜  tina4 将文件保存到 orm 中的数据库 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:45.080000             🧑  作者: Mango

代码示例1
//Save a block on content to table , field name is content
$page->saveBlob("content", $request->params["content"]);
//Save an uploaded file to field name image, field type is longblob / blob in the database
$page->saveFile("image", "image"); //expecting $_FILES["image"]