多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
数据插入 === ## 知识点 `insert into [tablename] (field,...) values (value,...)` ### SQL 部分 ``` > insert into posts (title,context) values ('',''); > insert into posts (title,content) values (NULL,''); > select * from posts; ``` ``` dollarkiller=# insert into posts (title,context) values ('page one','he he he he he he he'); INSERT 0 1 dollarkiller=# select * from posts; id | title | context | is_draft | is_del | created_data ----+----------+----------------------+----------+--------+---------------------------- 2 | page one | he he he he he he he | t | f | 2019-07-03 03:40:29.184139 (1 row) ```