Skip to content

JQL 문법 정리에 대한 고민. #1

Description

@slowcoders
  • select
    1 안): column list 를 Node 외부에 지정.
    { "starship<name, length>": {} }
    2 안): column list 를 Node 내부에 지정.
    { "starship": { "@select": "name, length" } }
    또는
    { "starship": { "@select": ["name", "length"] } }

  • select 문 생략 시 default 처리
    1 안) * (all)
    2 안) @ (compared attributes)
    2 안) !,@ (primary key + compared attributes)

  • Foreign Key 칼럼명 출력
    1 안) { "pilot.id" : 1000 }
    2 안) { "pilot" : { "id": 1000 } }

  • 외부 Entity 참조키
    1 안) 내부 Property key 와 동일하기 처리.
    2 안) '+' 붙여서 구분. (Join 이 발생함을 명시)
    3 안) Associative Table 을 경유하는 경우 (2중 Join 된 경우만) '+' 붙여서 구분.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions