일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- c++11
- Eclipse
- 쉘
- 배열
- List
- postgresql
- if
- ubuntu
- C++
- SVN
- Shader
- expect
- pandas
- mysql
- with
- sqlite
- pi
- dataframe
- null
- ngui
- sql
- Unity
- FIND
- conda
- awk
- boost
- autovacuum
- python
- SSH
- DROP
- Today
- Total
목록null (2)
その先にあるもの…
string str = "[{\"id\":\"QZ97329285DA\",\"ndex\":43,\"overlap\":0,\"max\":1,\"multiple\":0,\"block\":null}]"; List Datas = JsonConvert.DeserializeObject(str); Datas.block은 null로 되어 있음. [JsonProperty("block")] public int? Block{ get; set; } = 0; 이 방법도 null나옴. 값에 null값을 명시적으로 넣어줘서 그렇다는데 DB에서 넘겨주는 값이 null인데 곤란하네. 깔끔하지 않는데 어쩔 수 없다. [JsonProperty(PropertyName = "block")] public int? block { get { ret..
https://www.postgresql.org/docs/current/functions-array.html#ARRAY-FUNCTIONS-TABLE array_length ( anyarray, integer ) → integer Returns the length of the requested array dimension. (Produces NULL instead of 0 for empty or missing array dimensions.) array_length(array[1,2,3], 1) → 3 array_length(array[]::int[], 1) → NULL array_length(array['text'], 2) → NULL array_replace ( anycompatiblearray, an..