mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			723 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			723 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
- view: comments
 | 
						|
  fields:
 | 
						|
 | 
						|
  - dimension: id
 | 
						|
    primary_key: true
 | 
						|
    type: int
 | 
						|
    sql: ${TABLE}.id
 | 
						|
 | 
						|
  - dimension: body
 | 
						|
    sql: ${TABLE}.body
 | 
						|
 | 
						|
  - dimension_group: created
 | 
						|
    type: time
 | 
						|
    timeframes: [time, date, week, month]
 | 
						|
    sql: ${TABLE}.created_at
 | 
						|
 | 
						|
  - dimension: headline_id
 | 
						|
    type: int
 | 
						|
    hidden: true
 | 
						|
    sql: ${TABLE}.headline_id
 | 
						|
 | 
						|
  - dimension_group: updated
 | 
						|
    type: time
 | 
						|
    timeframes: [time, date, week, month]
 | 
						|
    sql: ${TABLE}.updated_at
 | 
						|
 | 
						|
  - dimension: user_id
 | 
						|
    type: int
 | 
						|
    hidden: true
 | 
						|
    sql: ${TABLE}.user_id
 | 
						|
 | 
						|
  - measure: count
 | 
						|
    type: count
 | 
						|
    detail: detail*
 | 
						|
 | 
						|
 | 
						|
  # ----- Detail ------
 | 
						|
  sets:
 | 
						|
    detail:
 | 
						|
      - id
 | 
						|
      - headlines.id
 | 
						|
      - headlines.name
 | 
						|
      - users.id
 |