-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Split up the "Deep dive into DSL" topic into several new topics (…
…#2217) * split up the Deep dive into DSL topic intro subtopics, improve structure and formatting * Add an "About" topic and improve the table types and definition topics * Update the "Sequence" topic * Improve structure in the DSL related sub-topics and add descriptions to boolean operators * update table definition topics to highlight the core class and mention EntityID wrapper
- Loading branch information
Showing
19 changed files
with
2,467 additions
and
1,964 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
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
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,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE topic | ||
SYSTEM "https://resources.jetbrains.com/writerside/1.0/xhtml-entities.dtd"> | ||
<topic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd" | ||
title="Exposed, an ORM framework for Kotlin" id="About"> | ||
<p> | ||
Exposed is a lightweight SQL library on top of a JDBC driver for the Kotlin programming language. It offers | ||
two approaches for database access: the Domain-Specific Language (DSL) API and the Data Access Object (DAO) API. | ||
</p> | ||
<p> | ||
The Domain-Specific Language (DSL) API of Exposed provides a Kotlin-based abstraction for interacting with databases | ||
. It closely <a href="DSL-CRUD-operations.topic">mirrors actual SQL statements</a>, allowing you to work | ||
with familiar SQL concepts while benefiting from the type safety that Kotlin offers. | ||
</p> | ||
<p> | ||
<a href="Deep-Dive-into-DAO.md">The Data Access Object (DAO) API</a> of Exposed provides an object-oriented approach for interacting with a database, | ||
similar to traditional Object-Relational Mapping (ORM) frameworks like Hibernate. | ||
This API is less verbose and provides a more intuitive and Kotlin-centric way to interact with your database. | ||
</p> | ||
<p> | ||
Exposed's flexibility allows you to choose the approach that best suits your project's needs, whether you | ||
prefer the direct control of SQL with the DSL API or the higher-level abstraction of the DAO API. | ||
</p> | ||
<p> | ||
The official mascot of Exposed is the cuttlefish, which is well-known for its outstanding mimicry ability that enables it | ||
to blend seamlessly into any environment. Similar to its mascot, Exposed can be used to mimic a variety of | ||
database engines, which helps you to build applications without dependencies on any specific database engine | ||
and to switch between them with very little or no changes. | ||
</p> | ||
<chapter title="Supported databases" id="supported-databases"> | ||
Exposed currently supports the following databases: | ||
<list> | ||
<li> | ||
<a href="https://www.h2database.com/html/main.html">H2</a> (versions 2.x) | ||
</li> | ||
<li> | ||
<a href="https://github.com/mariadb-corporation/mariadb-connector-j">MariaDB</a> | ||
</li> | ||
<li> | ||
<a href="https://github.com/mysql/mysql-connector-j">MySQL</a> | ||
</li> | ||
<li> | ||
<a href="https://www.oracle.com/ca-en/database/technologies/appdev/jdbc-downloads.html">Oracle</a> | ||
</li> | ||
<li> | ||
<a href="https://jdbc.postgresql.org/">PostgreSQL</a> (as well as PostgreSQL using the | ||
<a href="https://impossibl.github.io/pgjdbc-ng/">pgjdbc-ng</a> JDBC driver) | ||
</li> | ||
<li> | ||
<a href="https://github.com/microsoft/mssql-jdbc">Microsoft SQL Server</a> | ||
</li> | ||
<li> | ||
<a href="https://github.com/xerial/sqlite-jdbc">SQLite</a> | ||
</li> | ||
</list> | ||
</chapter> | ||
<seealso style="cards"> | ||
<category ref="learn-more"> | ||
<a href="Exposed-Modules.md"/> | ||
<a href="Getting-Started-with-Exposed.topic"/> | ||
</category> | ||
</seealso> | ||
</topic> |
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
Oops, something went wrong.