同步操作将从 EdgeDB/edgedb 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
EdgeDB is an open-source object-relational database built on top of PostgreSQL. The goal of EdgeDB is to empower its users to build safe and efficient software with less effort.
EdgeDB features:
Check out the blog posts for more examples and the philosophy behind EdgeDB.
The data schema in EdgeDB is a clean high-level representation of a conceptual data model:
type User {
required property name -> str;
}
type Person {
required property first_name -> str;
required property last_name -> str;
}
type Review {
required property body -> str;
required property rating -> int64 {
constraint min_value(0);
constraint max_value(5);
}
required link author -> User;
required link movie -> Movie;
required property creation_time -> cal::local_datetime;
}
type Movie {
required property title -> str;
required property year -> int64;
required property description -> str;
multi link directors -> Person;
multi link cast -> Person;
property avg_rating := math::mean(.<movie[IS Review].rating);
}
EdgeDB has a rich library of datatypes and functions.
EdgeQL is the query language of EdgeDB. It is efficient, intuitive, and easy to learn.
EdgeQL supports fetching object hierarchies with arbitrary level of nesting, filtering, sorting and aggregation:
SELECT User {
id,
name,
image,
latest_reviews := (
WITH UserReviews := User.<author[IS Review]
SELECT UserReviews {
id,
body,
rating,
movie: {
id,
title,
avg_rating,
}
}
ORDER BY .creation_time DESC
LIMIT 10
)
}
FILTER .id = <uuid>$id
EdgeDB is currently in beta. See our Issues for a list of features planned or in development.
Please refer to the Tutorial section of the documentation on how to install and run EdgeDB.
The EdgeDB documentation can be found at edgedb.com/docs.
Please follow the instructions outlined in the documentation.
The code in this repository is developed and distributed under the Apache 2.0 license. See LICENSE for details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。