Open Sidebar
Close Sidebar
avram
main
Top Level Namespace
Array
Avram
AddColumnAttributes
Associations
BelongsTo
HasMany
HasOne
Attribute
ErrorMessage
AvramError
BaseQueryTemplate
BetweenCriteria
CallableErrorMessage
Callbacks
ChronoUnits
Connection
ConnectionError
Credentials
Criteria
Database
ColumnInfo
DatabaseCleaner
DatabaseInfo
FiberId
TableInfo
DatabaseValidations
DefineAttribute
DeleteOperation
OperationStatus
DeleteOperationTemplate
Events
DeleteFailedEvent
DeleteSuccessEvent
FailedQueryEvent
QueryEvent
SaveFailedEvent
SaveSuccessEvent
Expectations
HaveCustomErrorExpectation
HaveErrorExpectation
ExtractCriteria
Factory
FailedMigration
FailedOperation
GenericAttribute
HabitatSettings
I18n
I18nBackend
ImpossibleValidation
IncludesCriteria
InheritColumnAttributes
Insert
Params
InvalidDatabaseNameError
InvalidOperationError
InvalidQueryError
Join
Full
Inner
Left
Right
SqlClause
LazyLoadError
MarkAsFailed
Migrator
AlterExtensionStatement
AlterTableStatement
BuildReferenceFragment
ChangeNullStatement
Columns
Base
BoolColumn
BytesColumn
Float32Column
Float64Column
FloatColumn
Int16Column
Int32Column
Int64Column
JSON
AnyColumn
PrimaryKeys
Base
Int16PrimaryKey
Int32PrimaryKey
Int64PrimaryKey
StringPrimaryKey
UUIDPrimaryKey
StringColumn
TimeColumn
UUIDColumn
CreateExtensionStatement
CreateForeignKeyStatement
CreateFunctionStatement
CreateIndexStatement
IndexTypes
CreateSequenceStatement
CreateTableStatement
CreateTriggerStatement
DropExtensionStatement
DropForeignKeyStatement
DropFunctionStatement
DropIndexStatement
DropSequenceStatement
DropTableStatement
DropTriggerStatement
IndexStatementHelpers
Columns
Migration
V1
MigrationId
MigrationGenerator
MissingOnDeleteWithBelongsToError
Runner
StatementHelpers
MissingRequiredAssociationError
Model
NeedyInitializer
NeedyInitializerAndDeleteMethods
NeedyInitializerAndSaveMethods
NestedSaveOperation
Nothing
Operation
OperationErrors
OrderBy
Direction
NullSorting
OrderByClause
OrderByRandom
Paramable
ParamKeyOverride
Params
PermittedAttribute
PGClientNotInstalledError
PGNotRunningError
Polymorphic
PrimaryKeyMethods
PrimaryKeyQueryable
PrimaryKeyType
Queryable
PGValue
QueryBuilder
ColumnName
RecordNotFoundError
Rollback
SaveOperation
OperationStatus
SaveOperationTemplate
SchemaEnforcer
EnsureExistingTable
EnsureMatchingColumns
EnsureUUIDPrimaryKeyHasDefault
Validation
SchemaMismatchError
Slugify
SoftDelete
Model
Query
SpecHelper
TableFor
TableName
Type
FailedCast
SuccessfulCast
UnsupportedQueryError
Uploadable
Lucky
Upsert
Validations
Where
Any
Condition
Conjunction
Equal
Excludes
GreaterThan
GreaterThanOrEqualTo
Ilike
In
Includes
JsonbExcludes
JsonbHasAllKeys
JsonbHasAnyKeys
JsonbHasKey
JsonbIn
JsonbIncludes
JsonbNotIn
LessThan
LessThanOrEqualTo
Like
NotAny
NotEqual
NotIlike
NotIn
NotJsonbHasAllKeys
NotJsonbHasAnyKeys
NotJsonbHasKey
NotLike
NotNull
Null
NullSqlClause
PrecedenceEnd
PrecedenceStart
Raw
SqlClause
TsMatch
TsNotMatch
ValueHoldingSqlClause
BaseTask
Bool
Lucky
ColumnType
Criteria
Char
DB
Connection
SavePointTransaction
TopLevelTransaction
Transaction
Db
Console
Create
Migrator
Drop
Migrate
One
Migrations
Status
Redo
Reset
Rollback
RollbackAll
RollbackTo
Schema
Dump
Restore
Setup
VerifyConnection
Enum
Lucky
ColumnType
Criteria
Fiber
Float64
Lucky
ColumnType
Criteria
Gen
Migration
HabitatSettings
Mixins
MigrationWithColumns
Model
Resource
Browser
InvalidOption
Int16
Lucky
ColumnType
Criteria
Int32
Lucky
ColumnType
Criteria
Int64
Lucky
ColumnType
Criteria
JSONConverter
Nil
Object
Slice
Lucky
ColumnType
Criteria
String
Lucky
ColumnType
Criteria
Time
Lucky
ColumnType
Criteria
UUID
Lucky
ColumnType
Criteria
abstract class
Avram::
OrderByClause
Avram::OrderByClause
Reference
Object
Direct Known Subclasses
Avram::OrderBy
Avram::OrderByRandom
Defined in:
avram/order_by_clause.cr
Instance Method Summary
#column
: String | Symbol
#prepare
: String
#reversed
:
self
Instance methods inherited from class
Object
blank_for_validates_required? : Bool
blank_for_validates_required?
Instance Method Detail
abstract def
column
:
String
| Symbol
#
[
View source
]
abstract def
prepare
:
String
#
[
View source
]
abstract def
reversed
:
self
#
[
View source
]