I-EdgeDB 4.0, ifika kunye nophuculo lwenkxaso, iindidi ezininzi kunye nokunye

EdgeDB

I-EdgeDB yidatabase entsha eza ne-schema echwetheziweyo engqongqo.

Kuye kwabhengezwa ukukhutshwa kwenguqulelo entsha ye-EdgeDB 4.0, efika ngaphantsi kweenyanga ezi-4 emva kokuqaliswa kwe-3.0 kwaye kule nguqulo entsha kunye nesebe (4.x) uphuculo olwahlukeneyo lunikezelwa, phakathi kwazo ukusebenza ngoluhlu kuphawulwe ngokongeza uluhlu lwedatha yoluhlu oluninzi, inkonzo epheleleyo yoqinisekiso, izandiso ezintsha kunye nokunye.

Kwabo abangaziyo malunga ne-EdgeDB, kuya kufuneka uyazi ukuba oku ngumthombo ovulekileyo wedatha oyilelwe njengendlalifa kwi-SQL kunye neparadigm yobudlelwane, kukhankanyiwe ukuba injongo yayo kukusombulula iingxaki zoyilo ezinzima ezenza ukusetyenziswa koovimba beenkcukacha ezikhoyo kube nzima ngokungeyomfuneko.

Ixhaswe yi-Postgres query engine, i-EdgeDB icinga nge-schema njengezinto ezinezakhiwo ezixhunywe ngamakhonkco. Kufana nesiseko sedatha esinxulumene nemodeli yedatha ejolise kwinto okanye isiseko sedatha yegrafu ene-schema engqongqo (igrafu yobudlelwane bedatha).

Iimpawu eziphambili ze-EdgeDB 4.0

Kule nguqulo entsha ye-EdgeDB 4.0 eveziweyo, enye yezona zinto zibalulekileyo zokuqaliswa yi inkxaso yokukhangela okubhaliweyo okupheleleyo, iphunyezwe nge-fts plugin kwaye apho kukhankanyiwe ukuba eyona nto inomdla kuyilo lwe-API, kubaYenzelwe ukuba ibe bhetyebhetye kwaye isebenza kakuhle kungekuphela nje nge-PostgreSQL FTS eyakhelweyo, kodwa kunye neenjini zangaphandle ezifana ne-Elastic.

Olunye lotshintsho olubonakalayo kuhlobo olutsha yi inkonzo yoqinisekiso, esebenza ngokwahlukileyo kumzekelo wesiseko sedatha nalapho kwakhona yongeze ulwandiso lwe "auth", oluxhasa i-OAuth ngeApple, Azure (Microsoft), GitHub okanye Google, zonke ezinoqwalaselo oluncinci.

Ukongeza koku, kukwagxininiswa ukuba yongezwe uhlobo olutsha lwedatha "yoluhlu oluninzi", oluchaza uluhlu olunye okanye ngaphezulu lwamaxabiso ukumela amaxesha aphakathi.. Ukuqhelaniswa kweendawo ezidityanisiweyo phakathi koluhlu oluchaziweyo lwenziwa ngokuzenzekelayo. Yonke imisebenzi kunye nabaqhubi abakhoyo ngaphambili kuluhlu lokucubungula banokusebenza ngohlobo lwe "multirange".

Olunye utshintsho Into endiyaziyo igqamile kolu guqulelo lutsha:

  • Uphuculo lwenziwe ukuphucula ukusebenza.
  • Ukusetyenziswa kwememori kumncedisi kuncitshiswa ngama-40%. Ikhowudi yombuzo we-EdgeQL yombuzo iphinde yabhalwa kwiRust.
  • I-EdgeQL yongeze inkxaso ye-syntax eqhelekileyo yamagama anemiqathango (ukuba ... emva koko ...)
  • Ukukwazi ukusebenzisa i-DML enemiqathango ukwenza, ukuhlaziya, kunye nokucima izinto ezininzi ngokusekelwe kwiimeko ezithile zinikezelwe.
  • Inkxaso yokuqinisekisa eyongeziweyo kwaye yenziwe ngokuzenzekelayo ukukhawulela ukufikelela kwi-GraphQL kunye ne-EdgeQL phezu kwe-HTTP.
  • Ukongezwa kwe-pgcrypto ebonelela nge-hmac, i-gen_salt kunye nemisebenzi ye-crypt ye-hashing kunye ne-encryption.
  • Kongezwe pg_trgm ulwandiso olunemisebenzi ukumisela ukufana komtya.
  • Yongezwe indlela entsha yokudlula amaxabiso ehlabathi kwimibuzo yeGraphQL: endaweni yokusebenzisa indawo eyahlukileyo.

Gqibela kwabo banomdla wokwazi okungakumbi ngayo, kufuneka ukwazi ukuba ikhowudi ibhaliwe kwiPython kunye neRust kwaye ihanjiswa phantsi kwelayisensi ye-Apache 2.0. Ungabonisana ngakumbi ngayo, kwi ukulandela ikhonkco.

Uyifaka njani i-EdgeDB kwiLinux?

Kwabo banomdla wokukwazi ukufaka le datha kwinkqubo yabo, banokwenza oko ngendlela elula. Vula nje i-terminal kwaye kuyo kufuneka uchwetheze lo myalelo ulandelayo:

curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh

Okanye kwimeko yeDebian, Ubuntu kunye nezinto eziphuma kuyo, ungafaka le DB ngale miyalelo ilandelayo:

sudo mkdir -p /usr/local/share/keyrings &&\sudo curl --proto'=https' --tlsv1.2 -sSf \ -o /usr/local/share/keyrings/edgedb-keyring.gpg \ https: //packages.edgedb.com/keys/edgedb-keyring.gpg
echo deb [isayinwe ngu=/usr/local/share/keyrings/edgedb-keyring.gpg]\ https://packages.edgedb.com/apt \ $(grep "VERSION_CODENAME=" /etc/os-release | cut -d= -f2) eyona \ | sudo tee /etc/apt/sources.list.d/edgedb.list
sudo apt-fumana uhlaziyo && sudo apt-fumana ukufaka i-edgedb-4

Ngelixa kwimeko ye-RHEL, i-CentOS kunye nonikezelo oluthathwe okanye olusekwe kwezi:

sudo curl --proto '=https' --tlsv1.2 -sSfL \ https://packages.edgedb.com/rpm/edgedb-rhel.repo \ > /etc/yum.repos.d/edgedb.repo
sudo yum faka i-edgedb-4

Okokugqibela kodwa okungakuncinananga, ukumeme ukuba uqhagamshelane namaxwebhu kuqwalaselo lwe le DB kwindlela yakho.


Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.