File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,45 @@ public function delete(...$cond): self
114114 }
115115
116116
117+ /**
118+ * Insert values into the table.
119+ *
120+ * @param mixed ...$cond Values or SQL fragments to insert.
121+ * @return $this Fluent instance.
122+ */
123+ public function insert (...$ cond ): self
124+ {
125+ parent ::insert (...$ cond );
126+ return $ this ;
127+ }
128+
129+
130+ /**
131+ * Update records in the table.
132+ *
133+ * @param mixed ...$cond Values or SQL fragments to update.
134+ * @return $this Fluent instance.
135+ */
136+ public function update (...$ cond ): self
137+ {
138+ parent ::update (...$ cond );
139+ return $ this ;
140+ }
141+
142+
143+ /**
144+ * Set the table for the INSERT query.
145+ *
146+ * @param mixed ...$cond Table name or SQL fragments.
147+ * @return $this Fluent instance.
148+ */
149+ public function into (...$ cond ): self
150+ {
151+ parent ::into (...$ cond );
152+ return $ this ;
153+ }
154+
155+
117156 /**
118157 * Execute the query and return a single record.
119158 *
You can’t perform that action at this time.
0 commit comments