課程
/后端開發(fā)
/Java
/Springboot + ElasticSearch 構(gòu)建博客檢索系統(tǒng)
請(qǐng)問(wèn)有mysql數(shù)據(jù)庫(kù)里t_blog表的數(shù)據(jù)嗎?
2019-12-01
源自:Springboot + ElasticSearch 構(gòu)建博客檢索系統(tǒng) 4-2
正在回答
CREATE DATABASE ems;
USE ems;
CREATE TABLE `t_blog` (? ??
? ?`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id',? ??
? ?`title` varchar(60) DEFAULT NULL COMMENT '博客標(biāo)題',? ??
? ?`author` varchar(60) DEFAULT NULL COMMENT '博客作者',? ??
? ?`content` mediumtext COMMENT '博客內(nèi)容',? ??
? ?`create_time` datetime DEFAULT NULL COMMENT '創(chuàng)建時(shí)間',? ??
? ?`update_time` datetime DEFAULT NULL COMMENT '更新時(shí)間',? ??
? ?PRIMARY KEY (`id`)? ??
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4
# 自己造的幾條數(shù)據(jù)
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (1, 'Springboot 為什么這', 'bywind', '沒(méi)錯(cuò) Springboot ', '2019-12-08 01:44:29', '2019-12-08 01:44:34');
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (3, 'Springboot 中 Redis', 'bywind', 'Spring Boot', '2019-12-08 01:44:29', '2019-12-08 01:44:29');
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (4, 'Springboot 中如何優(yōu)化', 'bywind', NULL, '2019-12-08 01:44:29', '2019-12-08 01:44:29');
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (5, 'Springboot 消息隊(duì)列', 'bywind', NULL, '2019-12-08 01:44:29', '2019-12-08 01:44:29');
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (6, 'Docker Compose + Springboot', 'bywind', NULL, '2019-12-08 01:44:29', '2019-12-08 01:44:29');
當(dāng)然沒(méi)有啦? ?上面的T_LOG是老師教學(xué)準(zhǔn)備的
舉報(bào)
Springboot + ElasticSearch 構(gòu)建個(gè)人博客檢索系統(tǒng)
2 回答MySQL數(shù)據(jù)庫(kù)中文本存儲(chǔ)格式
2 回答是不是查詢用es, 更新數(shù)據(jù)用mysql?
1 回答全量導(dǎo)入oracle的數(shù)據(jù)會(huì)遺漏數(shù)據(jù)
3 回答logstash 只能同步增加的數(shù)據(jù),不能同步更新和刪除的數(shù)據(jù)
4 回答demo測(cè)試數(shù)據(jù)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2019-12-08
CREATE DATABASE ems;
USE ems;
CREATE TABLE `t_blog` (? ??
? ?`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id',? ??
? ?`title` varchar(60) DEFAULT NULL COMMENT '博客標(biāo)題',? ??
? ?`author` varchar(60) DEFAULT NULL COMMENT '博客作者',? ??
? ?`content` mediumtext COMMENT '博客內(nèi)容',? ??
? ?`create_time` datetime DEFAULT NULL COMMENT '創(chuàng)建時(shí)間',? ??
? ?`update_time` datetime DEFAULT NULL COMMENT '更新時(shí)間',? ??
? ?PRIMARY KEY (`id`)? ??
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4
# 自己造的幾條數(shù)據(jù)
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (1, 'Springboot 為什么這', 'bywind', '沒(méi)錯(cuò) Springboot ', '2019-12-08 01:44:29', '2019-12-08 01:44:34');
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (3, 'Springboot 中 Redis', 'bywind', 'Spring Boot', '2019-12-08 01:44:29', '2019-12-08 01:44:29');
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (4, 'Springboot 中如何優(yōu)化', 'bywind', NULL, '2019-12-08 01:44:29', '2019-12-08 01:44:29');
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (5, 'Springboot 消息隊(duì)列', 'bywind', NULL, '2019-12-08 01:44:29', '2019-12-08 01:44:29');
INSERT INTO `ems`.`t_blog`(`id`, `title`, `author`, `content`, `create_time`, `update_time`) VALUES (6, 'Docker Compose + Springboot', 'bywind', NULL, '2019-12-08 01:44:29', '2019-12-08 01:44:29');
2019-12-02
當(dāng)然沒(méi)有啦? ?上面的T_LOG是老師教學(xué)準(zhǔn)備的