안녕하세요 뒤끝 데이터베이스 예제를 보고 따라하던 도중
await DBClient.From().Insert(boss);에서 작업 완료가 되지 않아 아래 작업 목록들이 실행이 안되는 것을 확인하였는데 놓친 부분이 있을까요?
안녕하세요 뒤끝 데이터베이스 예제를 보고 따라하던 도중
안녕하세요 개발자님,
프로젝트 정보 및 Base SDK 적용 버전 정보를 공유 요청드립니다.
또한 리턴 값을 받을 수 있도록 var result = 를 앞에 넣은 후 Message를 확인 해 주시기 바랍니다.
프로젝트 정보 : Mr.Hero_Test
뒤끝 SDK 버전 : 5.18.2
데이터베이스 버전: com.backnd.database@0.0.12
메세지를 추가해봤지만 로그에 나오지 않았고
로그
[DatabaseExecutor] Retry 1/3: WebRequest failed: HTTP/1.1 503 Service Unavailable (Code: 503, Result: ProtocolError)
UnityEngine.Debug:LogWarning (object)
[DatabaseExecutor] Retry 2/3: WebRequest failed: HTTP/1.1 503 Service Unavailable (Code: 503, Result: ProtocolError)
[DatabaseExecutor] Retry 3/3: WebRequest failed: HTTP/1.1 503 Service Unavailable (Code: 503, Result: ProtocolError)
오류 메시지
Exception: Query failed: Request failed after 3 retries: WebRequest failed: HTTP/1.1 503 Service Unavailable (Code: 503, Result: ProtocolError)
BACKND.Database.BTask`1[T].get_Result () (at
이런 오류가 났습니다.
데이터베이스 초기화 코드 정보 공유 요청드립니다.
넵 예제를 따라하고 있었는데 TotalDamage가 대소문자 구분 없이 저장 시 소문자화 된다고 해서 totalDamage로 컬럼을 만들었는데 확인해보니 total_damage로 저장되는 것을 확인하여 수정하였습니다. 지금은 정상작동이 됩니다. 감사합니다.
NotSupportedException: Only simple property access is supported (e.g., x => x.PropertyName)
BACKND.Database.QueryBuilder`1[T].GetColumnNameFromMemberExpression (System.Linq.Expressions.Expression expression) (at
혹시 이 오류는 무엇인지 알 수 있을까요
var targetId = boss.BossId; // 지역 변수로 고정
await DBClient.From<WorldBoss>()
.Where(b => b.BossId == targetId)
.Inc(b => b.TotalDamage, validDamage)
.Update();
이 코드에서 오류가 났습니다.

WorldBoss 테이블 C# 코드(테이블 테이터 모델) 정보 공유 요청드립니다.
감사합니다. 해결했습니다
그리고 컬럼 만들고 나서 순서를 바꾸는 기능이 있으면 좋겠습니다!