文件名称:演示-r2dbc
文件大小:65KB
文件格式:ZIP
更新时间:2024-03-04 00:43:46
Java
演示R2DBC Spring Boot + Spring Data R2DBC + TestContainers 用法 brew install mysql brew services start mysql mysql -u root -e 'create database demo_r2dbc;' ./mvnw clean package java -jar target/demo-r2dbc-0.0.1-SNAPSHOT.jar TARGET_URL=http://localhost:8080 TODO_ID=$(curl -s ${TARGET_URL}/todos -H "Content-Type: application/json" -d '{"todoTitle": "Demo"}' | jq -r .todoId) curl -s ${TARGET_URL}/todos
【文件预览】:
demo-r2dbc-master
----.gitignore(333B)
----.mvn()
--------wrapper()
----src()
--------main()
--------test()
----mvnw(10KB)
----manifest.yml(709B)
----.github()
--------workflows()
----pom.xml(4KB)
----mvnw.cmd(6KB)
----README.md(662B)