abstract struct CB::QueryMenu::Query

Direct Known Subclasses

Defined in:

cb/query_menu/query.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(dirname : String) #

[View source]

Class Method Detail

def self.all #

[View source]

Instance Method Detail

def category : Category #

The category of the query. This value is defined by setting the #category field in the Metadata annotation.


[View source]
def dirname : String #

[View source]
def label : String #

The label of the query. This value is define by setting the #label field in the Metadata annotation.


[View source]
def path #

[View source]
abstract def sql #

[View source]
abstract def sql_filename #

[View source]
def write #

Write the query to file.


[View source]