Fluent is Vapor's object-relational mapping (ORM) framework that abstracts the interaction with various database engines. By working with a single interface that abstracts many different database engines, your code will be more reusable and portable. With Fluent, you do not need to write low-level instructions, such as structured query language (SQL), to work with a database engine. Unlike the traditional way of querying a database using untyped arrays or dictionaries, Fluent build upon Swift's model-driven data-handling infrastructure and extends it to the querying of the database. This is a more natural way for you to interact with database using models.





















































