Asdine El Hrychy
613ca304f4
remove rowid
2025-09-07 23:29:43 +08:00
Asdine El Hrychy
083e83de9c
add support for pg style bind parameters
2025-08-27 20:00:48 +08:00
Asdine El Hrychy
e363bcd690
use sql driver everywhere
2025-08-25 18:15:15 +08:00
Asdine El Hrychy
9fa00433fe
use stream iterators
2025-08-16 12:31:52 +08:00
Asdine El Hrychy
6bc4992d70
db: add Connection
2024-02-20 09:38:56 +04:00
Asdine El Hrychy
fc051f7cf9
db: only strict schemas
2024-02-17 14:27:02 +04:00
Asdine El Hrychy
edcb91d4c5
chore: rename genji to chai
2023-12-02 11:25:56 +04:00
Asdine El Hrychy
d981a577c0
db: introduce row type
2023-12-01 20:39:23 +04:00
Asdine El Hrychy
3f32bcbf19
Prevent index creation on undeclared path
2022-06-27 17:20:18 +08:00
Asdine El Hrychy
f966172cee
Introduce Value interface ( #422 )
...
This replaces the Value struct by an interface to allow us to override some
values behavior in the future.
It also introduces a new package types, which contains type definitions, comparison,
and arithmetics.
Concerning encoding, Genji now only uses on type of encoding for values. This simplifies
indexing logic as well as table access in general.
2021-07-21 22:05:44 +04:00
Asdine El Hrychy
7dd796e9c2
Simplify planner
2021-02-02 00:01:30 +04:00
Asdine El Hrychy
d0f6da0128
Rework how integers and doubles are managed
2020-11-10 21:25:46 +04:00
Ivan Trubach
46d8eced1e
Add support for context.Context
2020-10-27 17:04:08 +04:00
Asdine El Hrychy
7320a893c9
Pass context to high level APIs
2020-10-04 16:45:47 +04:00
Asdine El Hrychy
a600b89e15
Replace calls to Convert methods
2020-08-10 20:13:08 +02:00
Asdine El Hrychy
db582931b6
Normalize json for documents
2020-06-28 12:41:50 +04:00
Asdine El Hrychy
fc456fed30
Add \n at the end of output in ToJSON and ArrayToJSON
2020-06-28 12:41:50 +04:00
Asdine El Hrychy
fbab70b6b1
Replace references to asdine/genji by genjidb/genji
2020-05-28 16:00:29 +04:00
Asdine El Hrychy
0d02aca5eb
Rename string type to text
2020-02-03 16:51:31 +01:00
Asdine El Hrychy
a75ecfc546
Remove generic integer type
2020-02-01 16:53:35 +01:00
Asdine El Hrychy
e61d476570
Add nested structs to examples
2019-12-31 13:30:40 +01:00
Asdine El Hrychy
a8b5fb9d65
Fix example test
2019-12-31 13:18:02 +01:00
Asdine El Hrychy
43ce0a1b49
Replace mentions of record by document
2019-12-19 23:06:58 +01:00
Asdine El Hrychy
f1ebabf34b
Remove example code generation
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
da1d937497
Add support for strucs
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
c6915c20bb
Use encoding package everywhere
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
9ec4900ed4
Fix tests
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
ce74ae6359
Rename RECORDS clause to DOCUMENTS
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
1c685a8123
Use new document api
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
9caad3266d
Remove Field type from document package
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
a9421ac413
Mv value package to document
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
c7fe43ba21
Rename Record type to Document
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
80a5137820
Rename record package to document
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
bb7803bf0b
Sort fields before inserting a record
2019-12-15 14:31:04 +01:00
Asdine El Hrychy
0117883947
Use lowercase by default
2019-11-19 15:42:59 +01:00
Asdine El Hrychy
8833056cd1
Fix go generate command
2019-11-16 20:21:55 +09:00
Asdine El Hrychy
c023d0fabf
Register Genji as a database/sql driver
2019-11-15 23:59:49 +09:00
Asdine El Hrychy
4cde214b35
Renamed memory package to memoryengine
2019-11-15 23:11:53 +09:00
Asdine El Hrychy
01c1d898a8
Fix IF NOT EXISTS order
2019-11-07 17:11:49 +09:00
Asdine El Hrychy
e8665636f1
Remove support for PrimaryKeyer interface
2019-11-01 17:10:43 +01:00
Asdine El Hrychy
946ce6d8a2
Fix recordutil references
2019-10-29 11:11:42 +01:00
Asdine El Hrychy
d2a4bc1ec1
Improve doc and examples
2019-10-19 13:51:32 +02:00
Asdine El Hrychy
7b32070aed
Change Statement signature
2019-10-13 20:37:49 +02:00
Asdine El Hrychy
71229c602c
Move sql/driver package to the genji package
2019-10-06 21:49:08 +02:00
Asdine El Hrychy
3e7d1db853
Add Open function
2019-09-29 19:02:43 +02:00
Asdine El Hrychy
fb8a3298bb
Update example
2019-09-29 15:00:57 +02:00
Asdine El Hrychy
47257e02f3
Move example to different file
2019-08-23 21:26:57 +01:00
Asdine El Hrychy
269f2cdff9
Add InitTable method
2019-08-22 19:02:07 +01:00
Asdine El Hrychy
f25b81d7e2
Rename Index GetIndex
2019-08-22 02:38:55 +01:00
Asdine El Hrychy
978a15b11f
Fix example
2019-08-19 20:19:20 +02:00