mirror of
https://github.com/VinGarcia/ksql.git
synced 2025-09-04 19:36:56 +00:00
Updated Home (markdown)
parent
80537227ea
commit
830d367cd9
12
Home.md
12
Home.md
@ -5,15 +5,15 @@ Welcome to the KSQL wiki!
|
|||||||
KSQL was created to offer an actually simple and satisfactory tool
|
KSQL was created to offer an actually simple and satisfactory tool
|
||||||
for interacting with SQL Databases in Golang.
|
for interacting with SQL Databases in Golang.
|
||||||
|
|
||||||
The core idea on `ksql` is to offer an easy to use interface,
|
The core idea on KSQL is to offer an easy to use interface,
|
||||||
the actual comunication with the database is decoupled so we can use
|
the actual comunication with the database is decoupled so we can use
|
||||||
`ksql` on top of `pgx`, `database/sql` and possibly other tools.
|
KSQL on top of `pgx`, `database/sql` and possibly other tools.
|
||||||
You can even create you own backend adapter for `ksql` which is
|
You can even create you own backend adapter for KSQL which is
|
||||||
useful in some situations.
|
useful in some situations.
|
||||||
|
|
||||||
## Why `ksql`?
|
## Why KSQL?
|
||||||
|
|
||||||
ksql is meant to improve on the existing ecosystem by providing
|
KSQL is meant to improve on the existing ecosystem by providing
|
||||||
a well-designed database package that has:
|
a well-designed database package that has:
|
||||||
|
|
||||||
1. A small number of easy-to-use helper functions for common use cases
|
1. A small number of easy-to-use helper functions for common use cases
|
||||||
@ -34,7 +34,7 @@ Some special use-cases also have some special support:
|
|||||||
- The `QueryChunks()` method helps you in the few situations when you might
|
- The `QueryChunks()` method helps you in the few situations when you might
|
||||||
need to load in a single query more data than would fit in memory.
|
need to load in a single query more data than would fit in memory.
|
||||||
- For saving you time when you are selecting all fields from a struct you
|
- For saving you time when you are selecting all fields from a struct you
|
||||||
can omit the `SELECT ...` part of the query which causes ksql to write
|
can omit the `SELECT ...` part of the query which causes KSQL to write
|
||||||
this part for you saving a lot of work when working with big structs/tables.
|
this part for you saving a lot of work when working with big structs/tables.
|
||||||
- The Nested Structs feature will help you reuse existing structs/models when working with JOINs.
|
- The Nested Structs feature will help you reuse existing structs/models when working with JOINs.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user