Top "Fluent" questions

Fluent interface is an API which allows method chaining to make code more readable.

Laravel - Eloquent or Fluent random row

How can I select a random row using Eloquent or Fluent in Laravel framework? I know that by using SQL, …

php laravel random eloquent fluent
How to select count with Laravel's fluent query builder?

Here is my query using fluent query builder. $query = DB::table('category_issue') ->select('issues.*') ->…

mysql activerecord fluent laravel eloquent
How to set every row to the same value with Laravel's Eloquent/Fluent?

I need to update all of the rows in a database so that a particular field in all of them …

laravel eloquent fluent laravel-3
Implementing Zero Or One to Zero Or One relationship in EF Code first by Fluent API

I have two POCO classes: Order Class: public class Order { int id; string code; int? quotationId; //it is foreign key …

c# entity-framework ef-code-first entity-relationship fluent
Schema specified is not valid. Errors: The relationship was not loaded because the type is not available

I wish to reference the OrderAddress model twice in my Order model; once as a ShippingAddress and once as a …

c# asp.net-mvc entity-framework foreign-keys fluent
Creating API that is fluent

How does one go about create an API that is fluent in nature? Is this using extension methods primarily?

c# fluent
truncate all tables in laravel using eloquent

Is there a way I could truncate all the tables in a db using eloquent or fluent in laravel 4? I …

php database laravel eloquent fluent
Using Distinct in Laravel Fluent

I have this join: Return DB::table('volunteer') ->join('volunteer_volunteer_category', 'volunteer_volunteer_category.volunteer_id', '=…

php laravel fluent laravel-3
Laravel Fluent queries - How do I perform a 'SELECT AS' using Fluent?

I have a query to select all the rows from the hire table and display them in a random order. …

mysql laravel fluent
Laravel 4: Adding where clause to a join condition

It says in the laravel docs that it is possible to add where clause on a join, but whenever I …

php database laravel laravel-4 fluent