e5152b2bc5
Signed-off-by: Anton Nesterov <anton@demiurg.io>
22 lines
339 B
Markdown
22 lines
339 B
Markdown
# DAL [WIP]
|
|
|
|
Data Accees Layer for SQL databases written in Go.
|
|
|
|
|
|
## NodeJs Client
|
|
|
|
Mongodb inspired query interface:
|
|
|
|
```typescript
|
|
const query = Db.In("users")
|
|
.Find({
|
|
fullname: { $glob: "*son" },
|
|
})
|
|
.Query();
|
|
|
|
// Result:
|
|
console.log(users)[
|
|
({ id: 25, fullname: "John Menson" }, { id: 76, fullname: "John Johnson" })
|
|
];
|
|
```
|