public static function create($title, $content, $label_ids){ self::$db->action(function($db){ $db->insert( articles , [ title => $title, content => $content, created_at => self...
in the php project, you simply connect to mysql. through the medoo library Due to the need for batch update configuration operations, insert into. Was used On duplicate key update statement, which cannot pass the syntax check of pdo. The php code is as ...
how many statements are queried in medoo for example: query classification category table: cateid-name-parentid 1-clothes-0 2-shoes-0 3-short sleeves-1 query output classification + subclassification (only secondary, according to parentid outpu...
The code in watch is very simple. A request takes data sets the immediate to enter the page and executes watch:{ post:{ handler(newValue,oldValue){ P.FilterData({"type":this.post.project}) ...
problem description two Collection: teams , scores . teams score is an Array, field associated with _ id . now look up teams and count the score according to its round field. but I can only look up all the relevant values from scores ...
CI frame, page B is opened by clicking on the link on page A. Page B is divided into three parts, the top is the menu, and the middle is the iframe, and the bottom is the information at the bottom of the page. After the A page clicks on the link, it pas...
ask God to tell me what this code means ! Function (t, e) { "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : t.Bubbl...
Multi-segment MP3 is synthesized into a fixed background sound I need to insert N pieces of MP3 files into a fixed background MP3. Small pieces of MP3 are recorded according to video subtitles, so the number is uncertain. Now I need to reinsert all re...