fix oracle date field insert #2420

Open
Kos wants to merge 1 commits from Kos/xorm:v1 into v1
Contributor

for #2419

for #2419
Kos added 1 commit 2024-02-27 10:42:01 +00:00
fix oracle date field insert
All checks were successful
test mssql / test mssql with collation (pull_request) Successful in 3m3s
test mariadb / test mariadb (pull_request) Successful in 3m20s
test cockroach / test cockroach (pull_request) Successful in 5m50s
test mysql / test mysql (pull_request) Successful in 2m49s
test mssql / test mssql (pull_request) Successful in 3m35s
test mysql8 / test mysql8 (pull_request) Successful in 3m6s
test postgres / test postgres (pull_request) Successful in 3m7s
test sqlite / unit test & test sqlite (pull_request) Successful in 4m34s
test tidb / test tidb (pull_request) Successful in 2m28s
ff19d53bdd
lunny reviewed 2024-03-08 09:40:12 +00:00
@ -92,0 +92,4 @@
var layout string
switch col.SQLType.Name {
case schemas.Date:
layout = "yyyy-MM-dd"
Owner

Is this Oracle special syntax?

Is this Oracle special syntax?
Author
Contributor

这是 配合TO_DATE() 使用的.

这是 配合TO_DATE() 使用的.
lunny added the
db
oracle
label 2024-04-02 04:40:37 +00:00
All checks were successful
test mssql / test mssql with collation (pull_request) Successful in 3m3s
Required
Details
test mariadb / test mariadb (pull_request) Successful in 3m20s
Required
Details
test cockroach / test cockroach (pull_request) Successful in 5m50s
Required
Details
test mysql / test mysql (pull_request) Successful in 2m49s
Required
Details
test mssql / test mssql (pull_request) Successful in 3m35s
Required
Details
test mysql8 / test mysql8 (pull_request) Successful in 3m6s
Required
Details
test postgres / test postgres (pull_request) Successful in 3m7s
Required
Details
test sqlite / unit test & test sqlite (pull_request) Successful in 4m34s
Required
Details
test tidb / test tidb (pull_request) Successful in 2m28s
Required
Details
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u v1:Kos-v1
git checkout Kos-v1
Sign in to join this conversation.
No description provided.