Loading views...
Hidra Collection 구현시작

Hidra Collection 구현시작

Date
Date
2020 Apr 27 0:0
Created by
Created by
Seonglae ChoSeonglae Cho
Created time
Created time
2023 Feb 28 12:39
Last edited by
Last edited by
Seonglae ChoSeonglae Cho
Last edited time
Last edited time
2023 Apr 15 16:56
Refs
Refs

collection, space, recursive - recursive

dft - include user

증말 구조설계어렵다 넘나 복잡한거
폴더구조 대폭 변경
 
 
 
 
 
tree parent 구조 이름 바꾸기
block class 도 옮기기
 
 
동적 title
head 로 구현
 
 
schema 내부 자유 구현
How to use mongoose model schema with dynamic keys?
If I understand correctly, you want to add a new column to your schema whose key is generated dynamically. E.g. maybe a collection of posts per user, where the heading of post is the key. If a user creates a new post, it gets added to his collection with the key as his post's heading.
How to use mongoose model schema with dynamic keys?
 
그냥 strict는 되는데 dynamic key는 안된다고 한다
 
Mongoose v5.9.10: SchemaTypes
SchemaTypes handle definition of path defaults, validation, getters, setters, field selection defaults for queries, and other general characteristics for Mongoose document properties. You can think of a Mongoose schema as the configuration object for a Mongoose model. A SchemaType is then a configuration object for an individual property.
는 구라고 최근데 map으로 생긴듯!!
오우쉿
What's New in Mongoose 5.1: Map Support
What's New in Mongoose 5.1: Map Support
근데 안댐... 뭐지?
실수로 option 을 넣고있었다 - 잘댐
 
revival function bin to real function - alive recursive and push to parent
 
 
 
 
 

Recommendations