Kawa
Kawa

Reputation: 57

Is prisma ORM an API?

I have been trying to clarify the definition of API, form my understanding, API is any kind of services that act like middleman when two applications( such as web framework and database ) cannot talk each other directly. And I think prisma is one of API, am I correcly understanding it?

Upvotes: 2

Views: 143

Answers (1)

paulsm4
paulsm4

Reputation: 121799

An API is an Application Programming Interface.

Originally, typically specified how an application invoked functionality in a programming library. Later, the term was generalized to mean other things: for example, specifying how an HTTP-based application must interact with a REST service.

From Wikipedia:

https://en.wikipedia.org/wiki/API

An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software.[1]

To answer your question:

  • Prisma is an ORM
  • Prisma has an API. Prisma client apps use the Prisma API to interact with the underlying database.

Upvotes: 0

Related Questions