-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c820aea
commit 3452685
Showing
30 changed files
with
3,555 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
# Table of contents | ||
|
||
- [Cql](README.md) | ||
- [Guides](guides/README.md) | ||
- [Introduction](guides/introduction.md) | ||
- [Installation](guides/installation.md) | ||
- [Core Concepts](guides/coreconcepts/README.md) | ||
- [DB Schema](guides/coreconcepts/schemas.md) | ||
- [Initializing the Database](guides/coreconcepts/initializing-the-database.md) | ||
- [Altering the Schema](guides/coreconcepts/altering-the-schema.md) | ||
- [Migrations](guides/coreconcepts/migrations.md) | ||
- [CRUD Operations](guides/coreconcepts/crud-operations/README.md) | ||
- [Creating Records](guides/coreconcepts/crud-operations/creating-records.md) | ||
- [Reading Records](guides/coreconcepts/crud-operations/reading-records.md) | ||
- [Updating Records](guides/coreconcepts/crud-operations/updating-records.md) | ||
- [Deleting Records](guides/coreconcepts/crud-operations/deleting-records.md) | ||
- [Patterns](guides/coreconcepts/patterns/README.md) | ||
- [Entity Framework](guides/coreconcepts/patterns/entity-framework.md) | ||
- [Active Record](guides/coreconcepts/patterns/active-record/README.md) | ||
- [Records](guides/coreconcepts/patterns/active-record/records.md) | ||
- [Relations](guides/coreconcepts/patterns/active-record/relations.md) | ||
- [Collections](guides/coreconcepts/patterns/active-record/collections.md) | ||
- [Repository](guides/coreconcepts/patterns/repository.md) | ||
- [Cql API](cql/README.md) | ||
- [enum Cql::Adapter](cql/adapter.md) | ||
- [class Cql::AlterTable](cql/altertable.md) | ||
- [class Cql::Column(T)](cql/column.md) | ||
- [class Cql::Delete](cql/delete.md) | ||
- [class Cql::Error](cql/error.md) | ||
- [class Cql::ForeignKey](cql/foreignkey.md) | ||
- [class Cql::Insert](cql/insert.md) | ||
- [class Cql::Migration](cql/migration.md) | ||
- [class Cql::Migrator](cql/migrator.md) | ||
- [class Cql::PrimaryKey(T)](cql/primarykey.md) | ||
- [alias Cql::PrimaryKeyType](cql/primarykeytype.md) | ||
- [class Cql::Query](cql/query.md) | ||
- [module Cql::Record(T, Pk)](cql/record.md) | ||
- [module Cql::Relations](cql/relations.md) | ||
- [class Cql::Repository(T, Pk)](cql/repository.md) | ||
- [class Cql::Schema](cql/schema.md) | ||
- [class Cql::Table](cql/table.md) | ||
- [class Cql::Update](cql/update.md) | ||
- [class Cql::Index](cql/_index.md) | ||
- [Migrator](cql/migrator/README.md) | ||
- [Cql::Migrator::MigrationRecord](cql/migrator/migrationrecord.md) | ||
- [Relations](cql/relations/README.md) | ||
- [module Cql::Relations::BelongsTo](cql/relations/belongsto.md) | ||
- [class Cql::Relations::Collection(Target, Pk)](cql/relations/collection.md) | ||
- [module Cql::Relations::HasMany](cql/relations/hasmany.md) | ||
- [module Cql::Relations::HasOne](cql/relations/hasone.md) | ||
- [class Cql::Relations::ManyCollection(Target, Through, Pk)](cql/relations/manycollection.md) | ||
- [module Cql::Relations::ManyToMany](cql/relations/manytomany.md) | ||
* [Cql](README.md) | ||
* [Guides](guides/README.md) | ||
* [Introduction](guides/introduction.md) | ||
* [Installation](guides/installation.md) | ||
* [Core Concepts](guides/coreconcepts/README.md) | ||
* [DB Schema](guides/coreconcepts/schemas.md) | ||
* [Initializing the Database](guides/coreconcepts/initializing-the-database.md) | ||
* [Altering the Schema](guides/coreconcepts/altering-the-schema.md) | ||
* [Migrations](guides/coreconcepts/migrations.md) | ||
* [CRUD Operations](guides/coreconcepts/crud-operations/README.md) | ||
* [Creating Records](guides/coreconcepts/crud-operations/creating-records.md) | ||
* [Reading Records](guides/coreconcepts/crud-operations/reading-records.md) | ||
* [Updating Records](guides/coreconcepts/crud-operations/updating-records.md) | ||
* [Deleting Records](guides/coreconcepts/crud-operations/deleting-records.md) | ||
* [Patterns](guides/coreconcepts/patterns/README.md) | ||
* [Entity Framework](guides/coreconcepts/patterns/entity-framework.md) | ||
* [Active Record](guides/coreconcepts/patterns/active-record/README.md) | ||
* [Records](guides/coreconcepts/patterns/active-record/records.md) | ||
* [Relations](guides/coreconcepts/patterns/active-record/relations.md) | ||
* [Collections](guides/coreconcepts/patterns/active-record/collections.md) | ||
* [Repository](guides/coreconcepts/patterns/repository.md) | ||
* [Cql API](cql-api/README.md) | ||
* [CRUD](cql-api/crud/README.md) | ||
* [class Cql::Insert](cql-api/crud/class-cql-insert.md) | ||
* [class Cql::Query](cql-api/crud/class-cql-query.md) | ||
* [class Cql::Delete](cql-api/crud/class-cql-delete.md) | ||
* [class Cql::Update](cql-api/crud/class-cql-update.md) | ||
* [class Cql::Schema](cql-api/class-cql-schema/README.md) | ||
* [class Cql::Column(T)](cql-api/class-cql-schema/class-cql-column-t.md) | ||
* [module Cql::Record(T, Pk)](cql-api/class-cql-schema/module-cql-record-t-pk.md) | ||
* [class Cql::ForeignKey](cql-api/class-cql-schema/class-cql-foreignkey.md) | ||
* [alias Cql::PrimaryKeyType](cql-api/class-cql-schema/alias-cql-primarykeytype.md) | ||
* [class Cql::Table](cql-api/class-cql-schema/class-cql-table.md) | ||
* [class Cql::AlterTable](cql-api/class-cql-schema/class-cql-altertable.md) | ||
* [class Cql::PrimaryKey(T)](cql-api/class-cql-schema/class-cql-primarykey-t.md) | ||
* [class Cql::Index](cql-api/class-cql-schema/class-cql-index.md) | ||
* [enum Cql::Adapter](cql-api/class-cql-schema/enum-cql-adapter.md) | ||
* [class Cql::Repository(T, Pk)](cql-api/class-cql-repository-t-pk.md) | ||
* [class Cql::Error](cql-api/class-cql-error.md) | ||
* [module Cql::Relations](cql-api/module-cql-relations/README.md) | ||
* [module Cql::Relations::BelongsTo](cql-api/module-cql-relations/module-cql-relations-belongsto.md) | ||
* [class Cql::Relations::Collection(Target, Pk)](cql-api/module-cql-relations/class-cql-relations-collection-target-pk.md) | ||
* [module Cql::Relations::HasMany](cql-api/module-cql-relations/module-cql-relations-hasmany.md) | ||
* [module Cql::Relations::HasOne](cql-api/module-cql-relations/module-cql-relations-hasone.md) | ||
* [class Cql::Relations::ManyCollection(Target, Through, Pk)](cql-api/module-cql-relations/class-cql-relations-manycollection-target-through-pk.md) | ||
* [module Cql::Relations::ManyToMany](cql-api/module-cql-relations/module-cql-relations-manytomany.md) | ||
* [Migrations](cql-api/migrations/README.md) | ||
* [Cql::Migrator::MigrationRecord](cql-api/migrations/cql-migrator-migrationrecord.md) | ||
* [class Cql::Migrator](cql-api/migrations/class-cql-migrator.md) | ||
* [class Cql::Migration](cql-api/migrations/class-cql-migration.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Cql API | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# class Cql::Error | ||
|
||
`Exception` < `Reference` < `Object` | ||
|
||
Error class This class represents an error in the Cql library It provides a message describing the error | ||
|
||
**Example** Raising an error | ||
|
||
```crystal | ||
raise Cql::Error.new("Something went wrong") | ||
``` | ||
|
||
## Constructors | ||
|
||
### def new`(message : String)` |
Oops, something went wrong.