ToDoMapper.xml

背景
投稿者投稿者jumokuいいね0お気に入り登録
プレイ回数56難易度(4.2) 747打 英語 英字 長文モードのみ
src/main/resources
com.example.webapp.repository

関連タイピング

問題文

ふりがな非表示 ふりがな表示

(<mapper namespace="com.example.webapp.repository.ToDoMapper">)

<mapper namespace="com.example.webapp.repository.ToDoMapper">

(<select id="selectAll" resultType="com.example.webapp.entity.ToDo">)

<select id="selectAll" resultType="com.example.webapp.entity.ToDo">

(SELECT id, todo, detail, created_at as createdAt, updated_at as updatedAt)

SELECT id, todo, detail, created_at as createdAt, updated_at as updatedAt

(FROM todos)

FROM todos

(</select>)

</select>

(<select id="selectById" resultType="com.example.webapp.entity.ToDo">)

<select id="selectById" resultType="com.example.webapp.entity.ToDo">

(SELECT id, todo, detail, created_at as createdAt, updated_at as updatedAt)

SELECT id, todo, detail, created_at as createdAt, updated_at as updatedAt

(FROM todos WHERE id = #{id})

FROM todos WHERE id = #{id}

(</select>)

</select>

(<insert id="insert">)

<insert id="insert">

(INSERT INTO todos (todo, detail, created_at, updated_at))

INSERT INTO todos (todo, detail, created_at, updated_at)

(VALUES (#{todo}, #{detail}, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP))

VALUES (#{todo}, #{detail}, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)

(</insert>)

</insert>

(<update id="update">)

<update id="update">

(UPDATE todos SET todo = #{todo}, detail = #{detail}, updated_at = CURRENT_TIMESTAMP)

UPDATE todos SET todo = #{todo}, detail = #{detail}, updated_at = CURRENT_TIMESTAMP

(WHERE id = #{id})

WHERE id = #{id}

(</update>)

</update>

(<delete id="delete">)

<delete id="delete">

(DELETE FROM todos WHERE id = #{id})

DELETE FROM todos WHERE id = #{id}

(</delete>)

</delete>

など

(</mapper>)

</mapper>

問題文を全て表示 一部のみ表示 誤字・脱字等の報告

jumokuのタイピング

オススメの新着タイピング

タイピング練習講座 ローマ字入力表 アプリケーションの使い方 よくある質問

人気ランキング

注目キーワード