{"repo":"TanVD/AORM","free":true,"listed":false,"github":"https://github.com/TanVD/AORM","clone":"git clone https://github.com/TanVD/AORM.git","description":"Clickhouse Kotlin SQL Framework","language":"Kotlin","stars":50,"topics":["clickhouse","kotlin","orm","analytics","sql"],"license":null,"category":"databases-storage","readme_excerpt":"AORM AORM is analytical SQL framework. Basically, it is a fork of Exposed SQL framework for ClickHouse database dialect. AORM supports Exposed-like DSL for standard SQL operations and rich set of ClickHouse dialect features (like state-aggregation functions, different engines, replicated context of execution and so on) Setup AORM releases are published to JCenter. How to First of all you'll need to set up Database object. Provide it with DataSource (self-constructed, JNDI -- it doesn't matter, but don't forget to use pooling :) ). In context of Database ( withContext(db) call) you will perform all operations. If you have a replicated cluster and want to balance load you may need to set up few Database objects and use ReplicatedConnectionContext. You can set up Table objects once database is created. Right now AORM supports a lot of ClickHouse types, but does not support nullability. Instead, null values will fallback to ClickHouse defaults. Support of nullability is considered to be implemented. Please note, that table is not linked to specific database. Table object is only declaration of scheme. You can use it in different contexts during work with different databases. Once you have created table object, you can align the scheme of your table with you database. Aligning of scheme means, that table will be created if it does not exist, or, if it exists, not existing columns will be added. AORM, by default, not performing any removal operations on aligning of scheme. It will ","default_branch":null,"files":null,"tree":[],"storefront":"/r/TanVD","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TanVD/AORM/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}